mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-18 18:19:12 +00:00
users/foo-dogsquared/programs/nixvim: update deprecated attributes
This commit is contained in:
parent
7875b055bd
commit
a5d8ae3e39
@ -6,7 +6,7 @@
|
|||||||
# Confirming these files are conforming.
|
# Confirming these files are conforming.
|
||||||
plugins.conform-nvim = {
|
plugins.conform-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
formatters = rec {
|
settings.formatters = rec {
|
||||||
bash = [ "shfmt" ];
|
bash = [ "shfmt" ];
|
||||||
c = lib.singleton [ "clang_format" ];
|
c = lib.singleton [ "clang_format" ];
|
||||||
cpp = c;
|
cpp = c;
|
||||||
|
@ -12,19 +12,19 @@
|
|||||||
cssls.enable = true; # For CSS.
|
cssls.enable = true; # For CSS.
|
||||||
denols.enable = true; # For Deno runtime.
|
denols.enable = true; # For Deno runtime.
|
||||||
dockerls.enable = true; # For Dockerfiles.
|
dockerls.enable = true; # For Dockerfiles.
|
||||||
emmet-ls.enable = true; # For emmet support.
|
emmet_ls.enable = true; # For emmet support.
|
||||||
eslint.enable = true; # For JavaScript.
|
eslint.enable = true; # For JavaScript.
|
||||||
html.enable = true; # For HTML.
|
html.enable = true; # For HTML.
|
||||||
jsonls.enable = true; # There's one for JSON?
|
jsonls.enable = true; # There's one for JSON?
|
||||||
lemminx.enable = true; # And for XML?
|
lemminx.enable = true; # And for XML?
|
||||||
ltex.enable = true; # And for LanguageTool, too?
|
ltex.enable = true; # And for LanguageTool, too?
|
||||||
lua-ls.enable = true; # For Lua.
|
lua_ls.enable = true; # For Lua.
|
||||||
nixd.enable = true; # For Nix.
|
nixd.enable = true; # For Nix.
|
||||||
nushell.enable = true; # For Nushell.
|
nushell.enable = true; # For Nushell.
|
||||||
pyright.enable = true; # For Python.
|
pyright.enable = true; # For Python.
|
||||||
|
|
||||||
# For Rust (even though I barely use it).
|
# For Rust (even though I barely use it).
|
||||||
rust-analyzer = {
|
rust_analyzer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
installRustc = false;
|
installRustc = false;
|
||||||
};
|
};
|
||||||
@ -32,6 +32,6 @@
|
|||||||
solargraph.enable = true; # For Ruby.
|
solargraph.enable = true; # For Ruby.
|
||||||
tailwindcss.enable = true; # For Tailwind CSS.
|
tailwindcss.enable = true; # For Tailwind CSS.
|
||||||
terraformls.enable = true; # For Terraform.
|
terraformls.enable = true; # For Terraform.
|
||||||
tsserver.enable = true; # For TypeScript.
|
ts_ls.enable = true; # For TypeScript.
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ in
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
# The main star of the show.
|
# The main star of the show.
|
||||||
plugins.luasnip.enable = true;
|
plugins.luasnip.enable = true;
|
||||||
plugins.luasnip.extraConfig = {
|
plugins.luasnip.settings = {
|
||||||
keep_roots = true;
|
keep_roots = true;
|
||||||
link_roots = true;
|
link_roots = true;
|
||||||
link_children = true;
|
link_children = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user