diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-10-02 17:27:52 +0300 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-10-02 17:27:52 +0300 |
commit | 33edc82a6b49a91998a516a8c5f20d9983c34ee1 (patch) | |
tree | 449973944f8fe53bfa9eeca00f3ba549bd47e788 | |
parent | 908db14e1c7fadbb1a82ff5257c3e1fb4cb1424b (diff) | |
download | nixos-configuration-33edc82a6b49a91998a516a8c5f20d9983c34ee1.tar.gz nixos-configuration-33edc82a6b49a91998a516a8c5f20d9983c34ee1.tar.bz2 nixos-configuration-33edc82a6b49a91998a516a8c5f20d9983c34ee1.zip |
chore: resolve warning messages
Updated program option definitions to resolve build warnings
-rw-r--r-- | home-manager/stvnliu/gtk.nix | 2 | ||||
-rw-r--r-- | home-manager/stvnliu/nixvim/autosave.nix | 2 | ||||
-rw-r--r-- | home-manager/stvnliu/nixvim/default.nix | 1 | ||||
-rw-r--r-- | home-manager/stvnliu/nixvim/devicons.nix | 3 | ||||
-rw-r--r-- | home-manager/stvnliu/nixvim/lsp.nix | 11 | ||||
-rw-r--r-- | home-manager/stvnliu/nixvim/treesitter.nix | 2 |
6 files changed, 12 insertions, 9 deletions
diff --git a/home-manager/stvnliu/gtk.nix b/home-manager/stvnliu/gtk.nix index c7223c1..838152f 100644 --- a/home-manager/stvnliu/gtk.nix +++ b/home-manager/stvnliu/gtk.nix @@ -12,7 +12,7 @@ }; qt = { enable = true; - platformTheme = "gtk"; + platformTheme.name = "gtk"; style = { package = pkgs.libsForQt5.breeze-qt5; name = "breeze"; diff --git a/home-manager/stvnliu/nixvim/autosave.nix b/home-manager/stvnliu/nixvim/autosave.nix index b2d375a..d8386e1 100644 --- a/home-manager/stvnliu/nixvim/autosave.nix +++ b/home-manager/stvnliu/nixvim/autosave.nix @@ -1,6 +1,6 @@ { plugins.auto-save = { enable = true; - enableAutoSave = true; + settings.enabled = true; }; } diff --git a/home-manager/stvnliu/nixvim/default.nix b/home-manager/stvnliu/nixvim/default.nix index be0731b..6ff04a0 100644 --- a/home-manager/stvnliu/nixvim/default.nix +++ b/home-manager/stvnliu/nixvim/default.nix @@ -23,6 +23,7 @@ ./which_key.nix ./wilder.nix ./virt-column.nix + ./devicons.nix ]; enable = true; enableMan = true; diff --git a/home-manager/stvnliu/nixvim/devicons.nix b/home-manager/stvnliu/nixvim/devicons.nix new file mode 100644 index 0000000..5265533 --- /dev/null +++ b/home-manager/stvnliu/nixvim/devicons.nix @@ -0,0 +1,3 @@ +{ + plugins.web-devicons.enable = true; +} diff --git a/home-manager/stvnliu/nixvim/lsp.nix b/home-manager/stvnliu/nixvim/lsp.nix index 2f552c8..92f93f5 100644 --- a/home-manager/stvnliu/nixvim/lsp.nix +++ b/home-manager/stvnliu/nixvim/lsp.nix @@ -8,13 +8,14 @@ clangd.enable = true; fsautocomplete.enable = true; gopls.enable = true; - nil_ls.enable = true; + nil-ls.enable = true; #nixd.enable = true; rust-analyzer = { enable = true; installRustc = true; + installCargo = true; }; - tsserver.enable = true; + ts-ls.enable = true; }; keymaps.lspBuf = { "gd" = "definition"; @@ -24,10 +25,8 @@ "K" = "hover"; }; }; - lsp-lines = { - enable = true; - currentLine = true; - }; + lsp-lines.enable = true; rust-tools.enable = true; }; + diagnostics.virtual_lines.only_current_line = true; } diff --git a/home-manager/stvnliu/nixvim/treesitter.nix b/home-manager/stvnliu/nixvim/treesitter.nix index b611273..06ad13b 100644 --- a/home-manager/stvnliu/nixvim/treesitter.nix +++ b/home-manager/stvnliu/nixvim/treesitter.nix @@ -4,7 +4,7 @@ enable = true; nixGrammars = true; nixvimInjections = true; # enables language injection in nixvim - indent = true; + settings.indent.enable = true; }; treesitter-context.enable = true; rainbow-delimiters.enable = true; |