mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +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.
|
||||
plugins.conform-nvim = {
|
||||
enable = true;
|
||||
formatters = rec {
|
||||
settings.formatters = rec {
|
||||
bash = [ "shfmt" ];
|
||||
c = lib.singleton [ "clang_format" ];
|
||||
cpp = c;
|
||||
|
@ -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.
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user