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 = 'treesitter' },
|
||||||
{ name = 'calc' },
|
{ name = 'calc' },
|
||||||
-- { name = 'spell' },
|
-- { name = 'spell' },
|
||||||
{ name = 'cmdline' },
|
|
||||||
{ name = 'emoji' },
|
{ name = 'emoji' },
|
||||||
{ name = 'buffer' },
|
{ name = 'buffer' },
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
|
@ -196,13 +195,13 @@ M.cmp = function()
|
||||||
cmp.setup.cmdline('/', search_config)
|
cmp.setup.cmdline('/', search_config)
|
||||||
cmp.setup.cmdline('?', search_config)
|
cmp.setup.cmdline('?', search_config)
|
||||||
-- `:` cmdline setup.
|
-- `:` cmdline setup.
|
||||||
cmp.setup.cmdline(':', {
|
cmp.setup.cmdline(':', {
|
||||||
mapping = cmp.mapping.preset.cmdline(),
|
mapping = cmp.mapping.preset.cmdline(),
|
||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
{ name = 'cmdline' },
|
{ name = 'cmdline' },
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
end -- <<<
|
end -- <<<
|
||||||
|
|
||||||
-- lspconfig >>>
|
-- lspconfig >>>
|
||||||
|
|
Loading…
Add table
Reference in a new issue