nvim: use buildifier and starpls for bazel files

This commit is contained in:
Daniel Lundin 2024-05-10 22:33:44 +02:00
parent 67c72e3dd7
commit 20846ca2ac
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@ return {
nls.builtins.formatting.stylua, nls.builtins.formatting.stylua,
nls.builtins.formatting.shfmt, nls.builtins.formatting.shfmt,
nls.builtins.formatting.buf, nls.builtins.formatting.buf,
nls.builtins.formatting.buildifier,
nls.builtins.diagnostics.buf.with({ nls.builtins.diagnostics.buf.with({
args = { "lint", "--disable-symlinks", "--path", "$FILENAME" }, args = { "lint", "--disable-symlinks", "--path", "$FILENAME" },
cwd = function() cwd = function()

View file

@ -13,6 +13,7 @@ return {
-- { "<leader>dr", "<cmd>RustDebuggables<cr>", desc = "Run Debuggables (Rust)" }, -- { "<leader>dr", "<cmd>RustDebuggables<cr>", desc = "Run Debuggables (Rust)" },
-- }, -- },
}, },
starpls = {},
yamlls = { yamlls = {
settings = { settings = {
yaml = { yaml = {