From 20846ca2ac60e889b13ccab210892ee333137a5e Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Fri, 10 May 2024 22:33:44 +0200 Subject: [PATCH] nvim: use buildifier and starpls for bazel files --- .config/nvim/lua/plugins/extras.lua | 1 + .config/nvim/lua/plugins/lsp.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/.config/nvim/lua/plugins/extras.lua b/.config/nvim/lua/plugins/extras.lua index bfc6f4a..61f7c27 100644 --- a/.config/nvim/lua/plugins/extras.lua +++ b/.config/nvim/lua/plugins/extras.lua @@ -10,6 +10,7 @@ return { nls.builtins.formatting.stylua, nls.builtins.formatting.shfmt, nls.builtins.formatting.buf, + nls.builtins.formatting.buildifier, nls.builtins.diagnostics.buf.with({ args = { "lint", "--disable-symlinks", "--path", "$FILENAME" }, cwd = function() diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index 82dac87..cc5441a 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -13,6 +13,7 @@ return { -- { "dr", "RustDebuggables", desc = "Run Debuggables (Rust)" }, -- }, }, + starpls = {}, yamlls = { settings = { yaml = {