modified: modules/completion/nvim-cmp/nvim-cmp.nix

This commit is contained in:
NotAShelf 2023-04-18 02:34:41 +03:00
commit acf592e8b1
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
5 changed files with 53 additions and 44 deletions

View file

@ -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};