aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Grieser <73286100+chrisgrieser@users.noreply.github.com>2025-04-13 14:47:12 +0200
committerGitHub <noreply@github.com>2025-04-13 20:47:12 +0800
commitcd54cca6c4a03b89f2a82e32ae6bfc230b5b4193 (patch)
tree0fb6b59c06aa05b020b140588daa2781a7fe5ae2
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-cd54cca6c4a03b89f2a82e32ae6bfc230b5b4193.tar
nvim-lspconfig-cd54cca6c4a03b89f2a82e32ae6bfc230b5b4193.tar.gz
nvim-lspconfig-cd54cca6c4a03b89f2a82e32ae6bfc230b5b4193.tar.bz2
nvim-lspconfig-cd54cca6c4a03b89f2a82e32ae6bfc230b5b4193.tar.lz
nvim-lspconfig-cd54cca6c4a03b89f2a82e32ae6bfc230b5b4193.tar.xz
nvim-lspconfig-cd54cca6c4a03b89f2a82e32ae6bfc230b5b4193.tar.zst
nvim-lspconfig-cd54cca6c4a03b89f2a82e32ae6bfc230b5b4193.zip
feat(biome): add `vim.lsp.config` support (#3716)
-rw-r--r--lsp/biome.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/lsp/biome.lua b/lsp/biome.lua
new file mode 100644
index 00000000..0d68921e
--- /dev/null
+++ b/lsp/biome.lua
@@ -0,0 +1,27 @@
+---@brief
+-- https://biomejs.dev
+--
+-- Toolchain of the web. [Successor of Rome](https://biomejs.dev/blog/annoucing-biome).
+--
+-- ```sh
+-- npm install [-g] @biomejs/biome
+-- ```
+
+return {
+ cmd = { 'biome', 'lsp-proxy' },
+ filetypes = {
+ 'astro',
+ 'css',
+ 'graphql',
+ 'javascript',
+ 'javascriptreact',
+ 'json',
+ 'jsonc',
+ 'svelte',
+ 'typescript',
+ 'typescript.tsx',
+ 'typescriptreact',
+ 'vue',
+ },
+ root_markers = { 'biome.json', 'biome.jsonc' },
+}