Compare commits

...

2 commits

3 changed files with 18 additions and 4 deletions
symlinks/config

View file

@ -11,17 +11,21 @@ text/x-log=nvim.desktop
text/plain=nvim.desktop
x-scheme-handler/fleet=jetbrains-fleet.desktop
x-scheme-handler/eclipse+command x-scheme-handler/eclipse+mpc=_app_eclipse_.desktop
image/png=org.gnome.Loupe.desktop
image/jpeg=org.gnome.Loupe.desktop
application/json=nvim.desktop
[Added Associations]
x-scheme-handler/sms=org.gnome.Shell.Extensions.GSConnect.desktop;
x-scheme-handler/tel=org.gnome.Shell.Extensions.GSConnect.desktop;
application/pdf=libreoffice-writer.desktop;
image/png=org.kde.krita.desktop;
image/png=org.kde.krita.desktop;org.gnome.Loupe.desktop;
text/x-kotlin=nvim.desktop;
application/json=nvim.desktop;
application/json=nvim.desktop;org.gnome.TextEditor.desktop;
video/mp4=org.videolan.VLC.desktop;
text/markdown=nvim.desktop;
video/webm=org.videolan.VLC.desktop;
text/x-log=nvim.desktop;
text/plain=nvim.desktop;
image/x-portable-pixmap=gimp.desktop;
image/jpeg=org.gnome.Loupe.desktop;

View file

@ -21,14 +21,14 @@ cmp.setup({
["<C-y>"] = cmp.mapping.confirm({ select = true }),
["<C-n>"] = function(fallback)
if cmp.visible() then
cmp.select_next_item({ behavior = cmp.SelectBehavior.Select })
cmp.select_next_item()
else
fallback()
end
end,
["<C-p>"] = function(fallback)
if cmp.visible() then
cmp.select_prev_item({ behavior = cmp.SelectBehavior.Select })
cmp.select_prev_item()
else
fallback()
end

View file

@ -88,6 +88,16 @@ require("flutter-tools").setup({
-- Rust tools
vim.g.rustaceanvim = {
server = vim.tbl_extend("force", common_config, {
capabilities = vim.tbl_extend("force", common_config.capabilities, {
-- TODO wait for nvim-cmp fix
textDocument = {
completion = {
completionItem = {
snippetSupport = false,
},
},
},
}),
on_attach = function(client, bufnr)
common_config.on_attach(client, bufnr)
end,