Skip to content

Commit

Permalink
Fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Sep 9, 2024
1 parent e32b6a3 commit 5cbc69a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion modules/cmp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ in

luasnip = {
enable = true;
extraConfig = {
settings = {
region_check_events = "CursorHold,InsertLeave";
# those are for removing deleted snippets, also a common problem
delete_check_events = "TextChanged,InsertEnter";
Expand Down
24 changes: 14 additions & 10 deletions modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,21 @@
lastplace.enable = true;
lualine = {
enable = true;
globalstatus = true;
# https://github.com/nvim-lualine/lualine.nvim?tab=readme-ov-file#filename-component-options
settings.sections = {
lualine_b = [ {
sources = [ "nvim_diagnostic" "nvim_lsp" ];
} ];
lualine_c = [ {
path = 1;
} ];
settings = {
options = {
globalstatus = true;
theme = "onedark";
};
# https://github.com/nvim-lualine/lualine.nvim?tab=readme-ov-file#filename-component-options
sections = {
lualine_b = [ {
sources = [ "nvim_diagnostic" "nvim_lsp" ];
} ];
lualine_c = [ {
path = 1;
} ];
};
};
theme = "onedark";
};
nvim-autopairs.enable = true; # brackets, html, ...
nvim-colorizer.enable = true;
Expand Down

0 comments on commit 5cbc69a

Please sign in to comment.