From 23d53b5d7bc2f31eed672c0a8d26dc608fb6d0ba Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Mon, 4 Aug 2025 07:45:42 -0500 Subject: feat(nvim) slim down new config --- dot_config/nvim_new/lsp/bazelrc_lsp.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dot_config/nvim_new/lsp/bazelrc_lsp.lua (limited to 'dot_config/nvim_new/lsp/bazelrc_lsp.lua') diff --git a/dot_config/nvim_new/lsp/bazelrc_lsp.lua b/dot_config/nvim_new/lsp/bazelrc_lsp.lua new file mode 100644 index 0000000..bf17b5a --- /dev/null +++ b/dot_config/nvim_new/lsp/bazelrc_lsp.lua @@ -0,0 +1,20 @@ +---@brief +--- +--- https://github.com/salesforce-misc/bazelrc-lsp +--- +--- `bazelrc-lsp` is a LSP for `.bazelrc` configuration files. +--- +--- The `.bazelrc` file type is not detected automatically, you can register it manually (see below) or override the filetypes: +--- +--- ```lua +--- vim.filetype.add { +--- pattern = { +--- ['.*.bazelrc'] = 'bazelrc', +--- }, +--- } +--- ``` +return { + cmd = { 'bazelrc-lsp', 'lsp' }, + filetypes = { 'bazelrc' }, + root_markers = { 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel' }, +} -- cgit v1.2.3