summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2024-04-10 00:24:18 -0400
committerseth <[email protected]>2024-04-10 00:24:18 -0400
commita18e493d8f323500772e8606b0a105a420cbc9c2 (patch)
tree43734346b4947c3fce83dc75a6d17572f8f54365
parentf1af635b923beeff1c3e8e368efc6f5cc856a10a (diff)
use statix with efmls again
this breaks with nvim's regular lsp. who knows why
-rw-r--r--config/lua/getchoo/efmls.lua3
-rw-r--r--config/plugin/lsp.lua2
-rw-r--r--neovim.nix2
3 files changed, 4 insertions, 3 deletions
diff --git a/config/lua/getchoo/efmls.lua b/config/lua/getchoo/efmls.lua
index 2b1caaa..92d61e9 100644
--- a/config/lua/getchoo/efmls.lua
+++ b/config/lua/getchoo/efmls.lua
@@ -6,6 +6,7 @@ local fish_indent = require("efmls-configs.formatters.fish_indent")
local prettier = require("efmls-configs.formatters.prettier")
local prettier_eslint = require("efmls-configs.formatters.prettier_eslint")
local selene = require("efmls-configs.linters.selene")
+local statix = require("efmls-configs.linters.statix")
local stylua = require("efmls-configs.formatters.stylua")
local languages = {
@@ -27,6 +28,8 @@ local languages = {
lua = { selene, stylua },
+ nix = { statix },
+
sass = { prettier },
scss = { prettier },
diff --git a/config/plugin/lsp.lua b/config/plugin/lsp.lua
index ef77067..0006b6a 100644
--- a/config/plugin/lsp.lua
+++ b/config/plugin/lsp.lua
@@ -89,8 +89,6 @@ local lsp_servers = {
},
},
- statix = {},
-
tsserver = {
binary = "typescript-language-server",
},
diff --git a/neovim.nix b/neovim.nix
index b317e6e..5cfe69e 100644
--- a/neovim.nix
+++ b/neovim.nix
@@ -66,12 +66,12 @@ self: {
nodePackages.alex
actionlint
beautysh
+ statix
# lspconfig
nodePackages.bash-language-server
nil
alejandra
- statix
typos-lsp
];