diff options
| author | anand <anand.panchdhari@gmail.com> | 2025-12-17 15:57:55 +0530 |
|---|---|---|
| committer | anand <anand.panchdhari@gmail.com> | 2025-12-17 15:57:55 +0530 |
| commit | b7ef29a8886a57aadb787807a7c6cf74c1f0ed3a (patch) | |
| tree | 366a68240fbc9da6b1d567bd6c46d1350ad814de /nvim/lsp/buck2.lua | |
Nixos
Diffstat (limited to 'nvim/lsp/buck2.lua')
| -rwxr-xr-x | nvim/lsp/buck2.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nvim/lsp/buck2.lua b/nvim/lsp/buck2.lua new file mode 100755 index 0000000..8c64746 --- /dev/null +++ b/nvim/lsp/buck2.lua @@ -0,0 +1,16 @@ +---@brief +--- +--- https://github.com/facebook/buck2 +--- +--- Build system, successor to Buck +--- +--- To better detect Buck2 project files, the following can be added: +--- +--- ``` +--- vim.cmd [[ autocmd BufRead,BufNewFile *.bxl,BUCK,TARGETS set filetype=bzl ]] +--- ``` +return { + cmd = { 'buck2', 'lsp' }, + filetypes = { 'bzl' }, + root_markers = { '.buckconfig' }, +} |
