diff --git a/install-language-servers.sh b/install-language-servers.sh index 66f7ed0..f466497 100755 --- a/install-language-servers.sh +++ b/install-language-servers.sh @@ -94,6 +94,9 @@ function install_fixers() { # Rust maybe_run rustup component add rustfmt + # Lua + maybe_run cargo install stylua + echo "" } diff --git a/neovim/lua/plugins/lsp.lua b/neovim/lua/plugins/lsp.lua index b238dc6..7133098 100644 --- a/neovim/lua/plugins/lsp.lua +++ b/neovim/lua/plugins/lsp.lua @@ -194,6 +194,8 @@ function M.config_null_ls() null_ls.builtins.diagnostics.shellcheck, -- Rust -- null_ls.builtins.formatting.rustfmt, + -- Lua + null_ls.builtins.formatting.stylua, }, } end