Skip to content

Commit 0915b0b

Browse files
fix(nixvim): commented out some lazyloads
i think i'm not using the correct events or something there were a few issues with "cmp" and "treesitter" -- don't really affect startup time that much anyway so maybe don't need to worry about it also added note about the lsp diagnostics
1 parent 4361f83 commit 0915b0b

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

modules/home/development/neovim/plugins/kickstart/lsp/lsp.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,10 @@
279279
border = "rounded";
280280
source = "if_many";
281281
};
282-
underline = {
283-
severity = "vim.diagnostics.severity.ERROR";
284-
};
282+
# underline = {
283+
# # TODO: invalid option?
284+
# # severity = "vim.diagnostic.severity.ERROR";
285+
# };
285286
signs = lib.mkIf config.programs.nixvim.globals.have_nerd_font {
286287
text.vim.diagnostic.severity = {
287288
ERROR = "󰅚 ";

modules/home/development/neovim/plugins/kickstart/nvim-cmp.nix

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,13 @@
129129
];
130130
};
131131

132-
lazyLoad = {
133-
enable = true;
134-
settings = {
135-
event = [ "InsertEnter" ];
136-
};
137-
};
132+
# TODO: module cmp not found
133+
# lazyLoad = {
134+
# enable = true;
135+
# settings = {
136+
# event = [ "InsertEnter" ];
137+
# };
138+
# };
138139
};
139140
};
140141

modules/home/development/neovim/plugins/kickstart/treesitter.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@
5656
# - Treesitter + textobjects: https://nix-community.github.io/nixvim/plugins/treesitter-textobjects/index.html
5757
};
5858

59-
lazyLoad = {
60-
enable = true;
61-
settings = {
62-
user = "DeferredUIEnter";
63-
};
64-
};
59+
# lazyLoad = {
60+
# enable = true;
61+
# settings = {
62+
# user = "DeferredUIEnter";
63+
# };
64+
# };
6565
};
6666

6767
extraPackages = with pkgs; [

0 commit comments

Comments
 (0)