users/foo-dogsquared/programs/nixvim: update deprecated attributes

This commit is contained in:
Gabriel Arazas 2024-11-14 16:16:50 +08:00
parent 7875b055bd
commit a5d8ae3e39
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
3 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
# Confirming these files are conforming.
plugins.conform-nvim = {
enable = true;
formatters = rec {
settings.formatters = rec {
bash = [ "shfmt" ];
c = lib.singleton [ "clang_format" ];
cpp = c;

View File

@ -12,19 +12,19 @@
cssls.enable = true; # For CSS.
denols.enable = true; # For Deno runtime.
dockerls.enable = true; # For Dockerfiles.
emmet-ls.enable = true; # For emmet support.
emmet_ls.enable = true; # For emmet support.
eslint.enable = true; # For JavaScript.
html.enable = true; # For HTML.
jsonls.enable = true; # There's one for JSON?
lemminx.enable = true; # And for XML?
ltex.enable = true; # And for LanguageTool, too?
lua-ls.enable = true; # For Lua.
lua_ls.enable = true; # For Lua.
nixd.enable = true; # For Nix.
nushell.enable = true; # For Nushell.
pyright.enable = true; # For Python.
# For Rust (even though I barely use it).
rust-analyzer = {
rust_analyzer = {
enable = true;
installRustc = false;
};
@ -32,6 +32,6 @@
solargraph.enable = true; # For Ruby.
tailwindcss.enable = true; # For Tailwind CSS.
terraformls.enable = true; # For Terraform.
tsserver.enable = true; # For TypeScript.
ts_ls.enable = true; # For TypeScript.
};
}

View File

@ -15,7 +15,7 @@ in
config = lib.mkIf cfg.enable {
# The main star of the show.
plugins.luasnip.enable = true;
plugins.luasnip.extraConfig = {
plugins.luasnip.settings = {
keep_roots = true;
link_roots = true;
link_children = true;