Skip to content

Commit 193d441

Browse files
committed
neovim
1 parent e7162c1 commit 193d441

File tree

2 files changed

+6
-40
lines changed

2 files changed

+6
-40
lines changed

home/.config/neovide/config.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[font]
2+
normal = ["FantasqueSansM Nerd Font"]
3+
size = 20.0
4+
5+
[font.features]
6+
"FantasqueSansM Nerd Font" = ["-calt"]

home/.config/nvim/lua/plugins.lua

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -313,46 +313,6 @@ nvim_lsp.ts_ls.setup {
313313
single_file_support = false,
314314
}
315315

316-
local cmp = require('cmp')
317-
cmp.setup {
318-
formatting = {
319-
format = function(entry, vim_item)
320-
vim_item.menu = ({
321-
buffer = "[Buffer]",
322-
nvim_lsp = "[LSP]",
323-
ultisnips = "[UltiSnips]",
324-
nvim_lua = "[Lua]",
325-
cmp_tabnine = "[TabNine]",
326-
look = "[Look]",
327-
path = "[Path]",
328-
spell = "[Spell]",
329-
calc = "[Calc]",
330-
emoji = "[Emoji]"
331-
})[entry.source.name]
332-
return vim_item
333-
end
334-
},
335-
mapping = {
336-
['<C-p>'] = cmp.mapping.select_prev_item(),
337-
['<C-n>'] = cmp.mapping.select_next_item(),
338-
['<C-d>'] = cmp.mapping.scroll_docs(-4),
339-
['<C-f>'] = cmp.mapping.scroll_docs(4),
340-
['<C-Space>'] = cmp.mapping.complete(),
341-
['<C-e>'] = cmp.mapping.close(),
342-
['<Tab>'] = cmp.mapping.confirm({
343-
behavior = cmp.ConfirmBehavior.Insert,
344-
select = true
345-
}),
346-
},
347-
sources = {
348-
{name = 'buffer'}, {name = 'nvim_lsp'}, {name = "ultisnips"},
349-
{name = "nvim_lua"}, {name = "look"}, {name = "path"},
350-
{name = 'cmp_tabnine'}, {name = "calc"}, {name = "spell"},
351-
{name = "emoji"}
352-
},
353-
completion = {completeopt = 'menu,menuone,noinsert'}
354-
}
355-
356316
require('mason').setup()
357317
require('mason-lspconfig').setup()
358318

0 commit comments

Comments
 (0)