Compare commits
2 commits
8152c1bdbc
...
adc0ca3459
Author | SHA1 | Date | |
---|---|---|---|
adc0ca3459 | |||
6cc2bd74a9 |
3 changed files with 18 additions and 4 deletions
symlinks/config
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue