mirror of
https://github.com/neovim/nvim-lspconfig.git
synced 2025-12-24 15:01:00 +01:00
19 lines
392 B
Lua
19 lines
392 B
Lua
---@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 ]]
|
|
--- ```
|
|
|
|
---@type vim.lsp.Config
|
|
return {
|
|
cmd = { 'buck2', 'lsp' },
|
|
filetypes = { 'bzl' },
|
|
root_markers = { '.buckconfig' },
|
|
}
|