mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
modified: modules/completion/nvim-cmp/nvim-cmp.nix
This commit is contained in:
parent
ad95175224
commit
acf592e8b1
5 changed files with 53 additions and 44 deletions
|
@ -12,7 +12,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
vim.startPlugins = optional usingNvimCmp "cmp-nvim-lsp";
|
||||
|
||||
vim.autocomplete.sources = ["nvim_lsp"];
|
||||
vim.autocomplete.sources = {"nvim_lsp" = "[LSP]";};
|
||||
|
||||
vim.luaConfigRC.lsp-setup = ''
|
||||
vim.g.formatsave = ${boolToString cfg.formatOnSave};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue