]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/lang/nix.lua
lazyvim: absorb all langs
[dotfiles.git] / nvim / lua / plugins / lang / nix.lua
diff --git a/nvim/lua/plugins/lang/nix.lua b/nvim/lua/plugins/lang/nix.lua
new file mode 100644 (file)
index 0000000..e524602
--- /dev/null
@@ -0,0 +1,19 @@
+return {
+  { "nvim-treesitter/nvim-treesitter",
+    opts = { ensure_installed = { "nix" } },
+  },
+  { "neovim/nvim-lspconfig",
+    opts = {
+      servers = {
+        -- nil_ls = {},  -- FIXME: this causes big CPU usage when tried to be installed and eventually just fails
+      },
+    },
+  },
+  { "stevearc/conform.nvim",
+    opts = {
+      formatters_by_ft = {
+        nix = { "nixfmt" },
+      },
+    },
+  },
+}