fix nvim cmp indentation issue for nix files
I removed the cmdline source from cmp and that fixed it
This commit is contained in:
parent
cdbc693e6e
commit
892b153b06
1 changed files with 4 additions and 5 deletions
|
@ -145,7 +145,6 @@ M.cmp = function()
|
|||
{ name = 'treesitter' },
|
||||
{ name = 'calc' },
|
||||
-- { name = 'spell' },
|
||||
{ name = 'cmdline' },
|
||||
{ name = 'emoji' },
|
||||
{ name = 'buffer' },
|
||||
{ name = 'path' },
|
||||
|
@ -196,13 +195,13 @@ M.cmp = function()
|
|||
cmp.setup.cmdline('/', search_config)
|
||||
cmp.setup.cmdline('?', search_config)
|
||||
-- `:` cmdline setup.
|
||||
cmp.setup.cmdline(':', {
|
||||
cmp.setup.cmdline(':', {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'path' },
|
||||
{ name = 'cmdline' },
|
||||
{ name = 'path' },
|
||||
{ name = 'cmdline' },
|
||||
})
|
||||
})
|
||||
})
|
||||
end -- <<<
|
||||
|
||||
-- lspconfig >>>
|
||||
|
|
Loading…
Add table
Reference in a new issue