Showing preview only (2,454K chars total). Download the full file or copy to clipboard to get everything.
Repository: neovim/nvim-lspconfig
Branch: master
Commit: 841c6d4139ae
Files: 855
Total size: 2.2 MB
Directory structure:
gitextract_6rrjtefv/
├── .codespellignorewords
├── .editorconfig
├── .emmyrc.json
├── .github/
│ ├── CODEOWNERS
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yml
│ │ └── config.yml
│ ├── PULL_REQUEST_TEMPLATE/
│ │ └── pull_request_template.md
│ ├── ci/
│ │ └── lint.sh
│ ├── dependabot.yml
│ └── workflows/
│ ├── docgen.yml
│ ├── gen-annotations.yml
│ ├── lint.yml
│ ├── release.yml
│ └── test.yml
├── .gitignore
├── .luarc.json
├── .stylua.toml
├── .styluaignore
├── CONTRIBUTING.md
├── LICENSE.md
├── Makefile
├── README.md
├── doc/
│ ├── configs.md
│ ├── configs.txt
│ ├── lspconfig.txt
│ ├── server_configurations.md
│ └── server_configurations.txt
├── flake.nix
├── lsp/
│ ├── ada_ls.lua
│ ├── agda_ls.lua
│ ├── aiken.lua
│ ├── air.lua
│ ├── alloy_ls.lua
│ ├── anakin_language_server.lua
│ ├── angularls.lua
│ ├── ansiblels.lua
│ ├── antlersls.lua
│ ├── apex_ls.lua
│ ├── arduino_language_server.lua
│ ├── asm_lsp.lua
│ ├── ast_grep.lua
│ ├── astro.lua
│ ├── atlas.lua
│ ├── atopile.lua
│ ├── autohotkey_lsp.lua
│ ├── autotools_ls.lua
│ ├── awk_ls.lua
│ ├── azure_pipelines_ls.lua
│ ├── bacon_ls.lua
│ ├── ballerina.lua
│ ├── basedpyright.lua
│ ├── bashls.lua
│ ├── basics_ls.lua
│ ├── bazelrc_lsp.lua
│ ├── beancount.lua
│ ├── bicep.lua
│ ├── biome.lua
│ ├── bitbake_language_server.lua
│ ├── blueprint_ls.lua
│ ├── bqls.lua
│ ├── bright_script.lua
│ ├── brioche.lua
│ ├── bsl_ls.lua
│ ├── buck2.lua
│ ├── buddy_ls.lua
│ ├── buf_ls.lua
│ ├── bzl.lua
│ ├── c3_lsp.lua
│ ├── cairo_ls.lua
│ ├── ccls.lua
│ ├── cds_lsp.lua
│ ├── cir_lsp_server.lua
│ ├── circom-lsp.lua
│ ├── clangd.lua
│ ├── clarinet.lua
│ ├── clojure_lsp.lua
│ ├── cmake.lua
│ ├── cobol_ls.lua
│ ├── codebook.lua
│ ├── coffeesense.lua
│ ├── contextive.lua
│ ├── copilot.lua
│ ├── coq_lsp.lua
│ ├── crystalline.lua
│ ├── csharp_ls.lua
│ ├── cspell_ls.lua
│ ├── css_variables.lua
│ ├── cssls.lua
│ ├── cssmodules_ls.lua
│ ├── cucumber_language_server.lua
│ ├── cue.lua
│ ├── custom_elements_ls.lua
│ ├── cypher_ls.lua
│ ├── daedalus_ls.lua
│ ├── dafny.lua
│ ├── dagger.lua
│ ├── dartls.lua
│ ├── dcmls.lua
│ ├── debputy.lua
│ ├── denols.lua
│ ├── dhall_lsp_server.lua
│ ├── diagnosticls.lua
│ ├── digestif.lua
│ ├── djls.lua
│ ├── djlsp.lua
│ ├── docker_compose_language_service.lua
│ ├── docker_language_server.lua
│ ├── dockerls.lua
│ ├── dolmenls.lua
│ ├── dotls.lua
│ ├── dprint.lua
│ ├── ds_pinyin_lsp.lua
│ ├── dts_lsp.lua
│ ├── earthlyls.lua
│ ├── ecsact.lua
│ ├── efm.lua
│ ├── elixirls.lua
│ ├── elmls.lua
│ ├── elp.lua
│ ├── ember.lua
│ ├── emmet_language_server.lua
│ ├── emmet_ls.lua
│ ├── emmylua_ls.lua
│ ├── erg_language_server.lua
│ ├── esbonio.lua
│ ├── eslint.lua
│ ├── expert.lua
│ ├── facility_language_server.lua
│ ├── fennel_language_server.lua
│ ├── fennel_ls.lua
│ ├── fish_lsp.lua
│ ├── flow.lua
│ ├── flux_lsp.lua
│ ├── foam_ls.lua
│ ├── fortitude.lua
│ ├── fortls.lua
│ ├── fsautocomplete.lua
│ ├── fsharp_language_server.lua
│ ├── fstar.lua
│ ├── futhark_lsp.lua
│ ├── gdscript.lua
│ ├── gdshader_lsp.lua
│ ├── gh_actions_ls.lua
│ ├── ghcide.lua
│ ├── ghdl_ls.lua
│ ├── ginko_ls.lua
│ ├── gitlab_ci_ls.lua
│ ├── gitlab_duo.lua
│ ├── glasgow.lua
│ ├── gleam.lua
│ ├── glint.lua
│ ├── glsl_analyzer.lua
│ ├── glslls.lua
│ ├── gn_language_server.lua
│ ├── gnls.lua
│ ├── golangci_lint_ls.lua
│ ├── gopls.lua
│ ├── gradle_ls.lua
│ ├── grammarly.lua
│ ├── graphql.lua
│ ├── groovyls.lua
│ ├── guile_ls.lua
│ ├── harper_ls.lua
│ ├── hdl_checker.lua
│ ├── helm_ls.lua
│ ├── herb_ls.lua
│ ├── hhvm.lua
│ ├── hie.lua
│ ├── hlasm.lua
│ ├── hls.lua
│ ├── home_assistant.lua
│ ├── hoon_ls.lua
│ ├── html.lua
│ ├── htmx.lua
│ ├── hydra_lsp.lua
│ ├── hylo_ls.lua
│ ├── hyprls.lua
│ ├── idris2_lsp.lua
│ ├── intelephense.lua
│ ├── janet_lsp.lua
│ ├── java_language_server.lua
│ ├── jdtls.lua
│ ├── jedi_language_server.lua
│ ├── jinja_lsp.lua
│ ├── jqls.lua
│ ├── jsonls.lua
│ ├── jsonnet_ls.lua
│ ├── julials.lua
│ ├── just.lua
│ ├── kakehashi.lua
│ ├── kcl.lua
│ ├── koka.lua
│ ├── kotlin_language_server.lua
│ ├── kotlin_lsp.lua
│ ├── kulala_ls.lua
│ ├── laravel_ls.lua
│ ├── lean3ls.lua
│ ├── lelwel_ls.lua
│ ├── lemminx.lua
│ ├── lexical.lua
│ ├── lsp_ai.lua
│ ├── ltex.lua
│ ├── ltex_plus.lua
│ ├── lua_ls.lua
│ ├── luau_lsp.lua
│ ├── lwc_ls.lua
│ ├── m68k.lua
│ ├── markdown_oxide.lua
│ ├── marko-js.lua
│ ├── marksman.lua
│ ├── matlab_ls.lua
│ ├── mdx_analyzer.lua
│ ├── mesonlsp.lua
│ ├── metals.lua
│ ├── millet.lua
│ ├── mint.lua
│ ├── mlir_lsp_server.lua
│ ├── mlir_pdll_lsp_server.lua
│ ├── mm0_ls.lua
│ ├── mojo.lua
│ ├── motoko_lsp.lua
│ ├── move_analyzer.lua
│ ├── mpls.lua
│ ├── msbuild_project_tools_server.lua
│ ├── muon.lua
│ ├── mutt_ls.lua
│ ├── nelua_lsp.lua
│ ├── neocmake.lua
│ ├── nextflow_ls.lua
│ ├── nextls.lua
│ ├── nginx_language_server.lua
│ ├── nickel_ls.lua
│ ├── nil_ls.lua
│ ├── nim_langserver.lua
│ ├── nimls.lua
│ ├── nixd.lua
│ ├── nomad_lsp.lua
│ ├── ntt.lua
│ ├── nushell.lua
│ ├── nxls.lua
│ ├── ocamllsp.lua
│ ├── ols.lua
│ ├── omnisharp.lua
│ ├── opencl_ls.lua
│ ├── openscad_ls.lua
│ ├── openscad_lsp.lua
│ ├── oso.lua
│ ├── oxfmt.lua
│ ├── oxlint.lua
│ ├── pact_ls.lua
│ ├── pasls.lua
│ ├── pbls.lua
│ ├── perlls.lua
│ ├── perlnavigator.lua
│ ├── perlpls.lua
│ ├── pest_ls.lua
│ ├── phan.lua
│ ├── phpactor.lua
│ ├── phptools.lua
│ ├── pico8_ls.lua
│ ├── please.lua
│ ├── pli.lua
│ ├── pony_language_server.lua
│ ├── pony_lsp.lua
│ ├── poryscript_pls.lua
│ ├── postgres_lsp.lua
│ ├── powershell_es.lua
│ ├── prismals.lua
│ ├── prolog_ls.lua
│ ├── prosemd_lsp.lua
│ ├── protols.lua
│ ├── psalm.lua
│ ├── pug.lua
│ ├── puppet.lua
│ ├── purescriptls.lua
│ ├── pylsp.lua
│ ├── pylyzer.lua
│ ├── pyre.lua
│ ├── pyrefly.lua
│ ├── pyright.lua
│ ├── qmlls.lua
│ ├── quick_lint_js.lua
│ ├── r_language_server.lua
│ ├── racket_langserver.lua
│ ├── raku_navigator.lua
│ ├── reason_ls.lua
│ ├── regal.lua
│ ├── regols.lua
│ ├── remark_ls.lua
│ ├── rescriptls.lua
│ ├── rls.lua
│ ├── rnix.lua
│ ├── robotcode.lua
│ ├── robotframework_ls.lua
│ ├── roc_ls.lua
│ ├── rome.lua
│ ├── roslyn_ls.lua
│ ├── rpmspec.lua
│ ├── rubocop.lua
│ ├── ruby_lsp.lua
│ ├── ruff.lua
│ ├── ruff_lsp.lua
│ ├── rumdl.lua
│ ├── rune_languageserver.lua
│ ├── rust_analyzer.lua
│ ├── salt_ls.lua
│ ├── scheme_langserver.lua
│ ├── scry.lua
│ ├── selene3p_ls.lua
│ ├── serve_d.lua
│ ├── shopify_theme_ls.lua
│ ├── sixtyfps.lua
│ ├── slangd.lua
│ ├── slint_lsp.lua
│ ├── smarty_ls.lua
│ ├── smithy_ls.lua
│ ├── snakeskin_ls.lua
│ ├── snyk_ls.lua
│ ├── solang.lua
│ ├── solargraph.lua
│ ├── solc.lua
│ ├── solidity.lua
│ ├── solidity_ls.lua
│ ├── solidity_ls_nomicfoundation.lua
│ ├── somesass_ls.lua
│ ├── sorbet.lua
│ ├── sourcekit.lua
│ ├── spectral.lua
│ ├── spyglassmc_language_server.lua
│ ├── sqlls.lua
│ ├── sqls.lua
│ ├── sqruff.lua
│ ├── stan_ls.lua
│ ├── standardrb.lua
│ ├── starlark_rust.lua
│ ├── starpls.lua
│ ├── statix.lua
│ ├── steep.lua
│ ├── stimulus_ls.lua
│ ├── stylelint_lsp.lua
│ ├── stylua.lua
│ ├── stylua3p_ls.lua
│ ├── superhtml.lua
│ ├── svelte.lua
│ ├── svlangserver.lua
│ ├── svls.lua
│ ├── swift_mesonls.lua
│ ├── syntax_tree.lua
│ ├── systemd_ls.lua
│ ├── systemd_lsp.lua
│ ├── tabby_ml.lua
│ ├── tailwindcss.lua
│ ├── taplo.lua
│ ├── tblgen_lsp_server.lua
│ ├── tclsp.lua
│ ├── teal_ls.lua
│ ├── templ.lua
│ ├── termux_language_server.lua
│ ├── terraform_lsp.lua
│ ├── terraformls.lua
│ ├── texlab.lua
│ ├── textlsp.lua
│ ├── tflint.lua
│ ├── theme_check.lua
│ ├── thriftls.lua
│ ├── tilt_ls.lua
│ ├── tinymist.lua
│ ├── tofu_ls.lua
│ ├── tombi.lua
│ ├── ts_ls.lua
│ ├── ts_query_ls.lua
│ ├── tsgo.lua
│ ├── tsp_server.lua
│ ├── ttags.lua
│ ├── turbo_ls.lua
│ ├── turtle_ls.lua
│ ├── tvm_ffi_navigator.lua
│ ├── twiggy_language_server.lua
│ ├── ty.lua
│ ├── typeprof.lua
│ ├── typos_lsp.lua
│ ├── typst_lsp.lua
│ ├── uiua.lua
│ ├── ungrammar_languageserver.lua
│ ├── unison.lua
│ ├── unocss.lua
│ ├── uvls.lua
│ ├── v_analyzer.lua
│ ├── vacuum.lua
│ ├── vala_ls.lua
│ ├── vale_ls.lua
│ ├── vectorcode_server.lua
│ ├── verible.lua
│ ├── veridian.lua
│ ├── veryl_ls.lua
│ ├── vespa_ls.lua
│ ├── vhdl_ls.lua
│ ├── vimls.lua
│ ├── visualforce_ls.lua
│ ├── vls.lua
│ ├── volar.lua
│ ├── vscoqtop.lua
│ ├── vsrocq.lua
│ ├── vtsls.lua
│ ├── vue_ls.lua
│ ├── wasm_language_tools.lua
│ ├── wc_language_server.lua
│ ├── wgsl_analyzer.lua
│ ├── yamlls.lua
│ ├── yang_lsp.lua
│ ├── yls.lua
│ ├── ziggy.lua
│ ├── ziggy_schema.lua
│ ├── zk.lua
│ ├── zls.lua
│ └── zuban.lua
├── lua/
│ ├── lspconfig/
│ │ ├── async.lua
│ │ ├── configs/
│ │ │ ├── ada_ls.lua
│ │ │ ├── agda_ls.lua
│ │ │ ├── aiken.lua
│ │ │ ├── air.lua
│ │ │ ├── alloy_ls.lua
│ │ │ ├── anakin_language_server.lua
│ │ │ ├── angularls.lua
│ │ │ ├── ansiblels.lua
│ │ │ ├── antlersls.lua
│ │ │ ├── apex_ls.lua
│ │ │ ├── arduino_language_server.lua
│ │ │ ├── asm_lsp.lua
│ │ │ ├── ast_grep.lua
│ │ │ ├── astro.lua
│ │ │ ├── atlas.lua
│ │ │ ├── autohotkey_lsp.lua
│ │ │ ├── autotools_ls.lua
│ │ │ ├── awk_ls.lua
│ │ │ ├── azure_pipelines_ls.lua
│ │ │ ├── bacon_ls.lua
│ │ │ ├── ballerina.lua
│ │ │ ├── basedpyright.lua
│ │ │ ├── bashls.lua
│ │ │ ├── basics_ls.lua
│ │ │ ├── bazelrc_lsp.lua
│ │ │ ├── beancount.lua
│ │ │ ├── bicep.lua
│ │ │ ├── biome.lua
│ │ │ ├── bitbake_language_server.lua
│ │ │ ├── bitbake_ls.lua
│ │ │ ├── blueprint_ls.lua
│ │ │ ├── bqls.lua
│ │ │ ├── bqnlsp.lua
│ │ │ ├── bright_script.lua
│ │ │ ├── bsl_ls.lua
│ │ │ ├── buck2.lua
│ │ │ ├── buddy_ls.lua
│ │ │ ├── buf_ls.lua
│ │ │ ├── bufls.lua
│ │ │ ├── bzl.lua
│ │ │ ├── c3_lsp.lua
│ │ │ ├── cadence.lua
│ │ │ ├── cairo_ls.lua
│ │ │ ├── ccls.lua
│ │ │ ├── cds_lsp.lua
│ │ │ ├── circom-lsp.lua
│ │ │ ├── clangd.lua
│ │ │ ├── clarity_lsp.lua
│ │ │ ├── clojure_lsp.lua
│ │ │ ├── cmake.lua
│ │ │ ├── cobol_ls.lua
│ │ │ ├── codeqlls.lua
│ │ │ ├── coffeesense.lua
│ │ │ ├── contextive.lua
│ │ │ ├── coq_lsp.lua
│ │ │ ├── crystalline.lua
│ │ │ ├── csharp_ls.lua
│ │ │ ├── css_variables.lua
│ │ │ ├── cssls.lua
│ │ │ ├── cssmodules_ls.lua
│ │ │ ├── cucumber_language_server.lua
│ │ │ ├── cue.lua
│ │ │ ├── custom_elements_ls.lua
│ │ │ ├── cypher_ls.lua
│ │ │ ├── daedalus_ls.lua
│ │ │ ├── dafny.lua
│ │ │ ├── dagger.lua
│ │ │ ├── dartls.lua
│ │ │ ├── dcmls.lua
│ │ │ ├── debputy.lua
│ │ │ ├── delphi_ls.lua
│ │ │ ├── denols.lua
│ │ │ ├── dhall_lsp_server.lua
│ │ │ ├── diagnosticls.lua
│ │ │ ├── digestif.lua
│ │ │ ├── djlsp.lua
│ │ │ ├── docker_compose_language_service.lua
│ │ │ ├── dockerls.lua
│ │ │ ├── dolmenls.lua
│ │ │ ├── dotls.lua
│ │ │ ├── dprint.lua
│ │ │ ├── drools_lsp.lua
│ │ │ ├── ds_pinyin_lsp.lua
│ │ │ ├── dts_lsp.lua
│ │ │ ├── earthlyls.lua
│ │ │ ├── ecsact.lua
│ │ │ ├── efm.lua
│ │ │ ├── elixirls.lua
│ │ │ ├── elmls.lua
│ │ │ ├── elp.lua
│ │ │ ├── ember.lua
│ │ │ ├── emmet_language_server.lua
│ │ │ ├── emmet_ls.lua
│ │ │ ├── erg_language_server.lua
│ │ │ ├── erlangls.lua
│ │ │ ├── esbonio.lua
│ │ │ ├── eslint.lua
│ │ │ ├── facility_language_server.lua
│ │ │ ├── fennel_language_server.lua
│ │ │ ├── fennel_ls.lua
│ │ │ ├── fish_lsp.lua
│ │ │ ├── flow.lua
│ │ │ ├── flux_lsp.lua
│ │ │ ├── foam_ls.lua
│ │ │ ├── fortls.lua
│ │ │ ├── fsautocomplete.lua
│ │ │ ├── fsharp_language_server.lua
│ │ │ ├── fstar.lua
│ │ │ ├── futhark_lsp.lua
│ │ │ ├── gdscript.lua
│ │ │ ├── gdshader_lsp.lua
│ │ │ ├── gh_actions_ls.lua
│ │ │ ├── ghcide.lua
│ │ │ ├── ghdl_ls.lua
│ │ │ ├── ginko_ls.lua
│ │ │ ├── gitlab_ci_ls.lua
│ │ │ ├── glasgow.lua
│ │ │ ├── gleam.lua
│ │ │ ├── glint.lua
│ │ │ ├── glsl_analyzer.lua
│ │ │ ├── glslls.lua
│ │ │ ├── golangci_lint_ls.lua
│ │ │ ├── gopls.lua
│ │ │ ├── gradle_ls.lua
│ │ │ ├── grammarly.lua
│ │ │ ├── graphql.lua
│ │ │ ├── groovyls.lua
│ │ │ ├── guile_ls.lua
│ │ │ ├── harper_ls.lua
│ │ │ ├── haxe_language_server.lua
│ │ │ ├── hdl_checker.lua
│ │ │ ├── helm_ls.lua
│ │ │ ├── hhvm.lua
│ │ │ ├── hie.lua
│ │ │ ├── hlasm.lua
│ │ │ ├── hls.lua
│ │ │ ├── hoon_ls.lua
│ │ │ ├── html.lua
│ │ │ ├── htmx.lua
│ │ │ ├── hydra_lsp.lua
│ │ │ ├── hyprls.lua
│ │ │ ├── idris2_lsp.lua
│ │ │ ├── intelephense.lua
│ │ │ ├── janet_lsp.lua
│ │ │ ├── java_language_server.lua
│ │ │ ├── jdtls.lua
│ │ │ ├── jedi_language_server.lua
│ │ │ ├── jinja_lsp.lua
│ │ │ ├── jqls.lua
│ │ │ ├── jsonls.lua
│ │ │ ├── jsonnet_ls.lua
│ │ │ ├── julials.lua
│ │ │ ├── just.lua
│ │ │ ├── kcl.lua
│ │ │ ├── koka.lua
│ │ │ ├── kotlin_language_server.lua
│ │ │ ├── kulala_ls.lua
│ │ │ ├── laravel_ls.lua
│ │ │ ├── lean3ls.lua
│ │ │ ├── leanls.lua
│ │ │ ├── lelwel_ls.lua
│ │ │ ├── lemminx.lua
│ │ │ ├── lexical.lua
│ │ │ ├── lsp_ai.lua
│ │ │ ├── ltex.lua
│ │ │ ├── ltex_plus.lua
│ │ │ ├── lua_ls.lua
│ │ │ ├── luau_lsp.lua
│ │ │ ├── lwc_ls.lua
│ │ │ ├── m68k.lua
│ │ │ ├── markdown_oxide.lua
│ │ │ ├── marko-js.lua
│ │ │ ├── marksman.lua
│ │ │ ├── matlab_ls.lua
│ │ │ ├── mdx_analyzer.lua
│ │ │ ├── mesonlsp.lua
│ │ │ ├── metals.lua
│ │ │ ├── millet.lua
│ │ │ ├── mint.lua
│ │ │ ├── mlir_lsp_server.lua
│ │ │ ├── mlir_pdll_lsp_server.lua
│ │ │ ├── mm0_ls.lua
│ │ │ ├── mojo.lua
│ │ │ ├── motoko_lsp.lua
│ │ │ ├── move_analyzer.lua
│ │ │ ├── msbuild_project_tools_server.lua
│ │ │ ├── muon.lua
│ │ │ ├── mutt_ls.lua
│ │ │ ├── nelua_lsp.lua
│ │ │ ├── neocmake.lua
│ │ │ ├── nextflow_ls.lua
│ │ │ ├── nextls.lua
│ │ │ ├── nginx_language_server.lua
│ │ │ ├── nickel_ls.lua
│ │ │ ├── nil_ls.lua
│ │ │ ├── nim_langserver.lua
│ │ │ ├── nimls.lua
│ │ │ ├── nixd.lua
│ │ │ ├── nomad_lsp.lua
│ │ │ ├── ntt.lua
│ │ │ ├── nushell.lua
│ │ │ ├── nxls.lua
│ │ │ ├── ocamllsp.lua
│ │ │ ├── ols.lua
│ │ │ ├── omnisharp.lua
│ │ │ ├── opencl_ls.lua
│ │ │ ├── openedge_ls.lua
│ │ │ ├── openscad_ls.lua
│ │ │ ├── openscad_lsp.lua
│ │ │ ├── oxlint.lua
│ │ │ ├── pact_ls.lua
│ │ │ ├── pasls.lua
│ │ │ ├── pbls.lua
│ │ │ ├── perlls.lua
│ │ │ ├── perlnavigator.lua
│ │ │ ├── perlpls.lua
│ │ │ ├── pest_ls.lua
│ │ │ ├── phan.lua
│ │ │ ├── phpactor.lua
│ │ │ ├── pico8_ls.lua
│ │ │ ├── pkgbuild_language_server.lua
│ │ │ ├── please.lua
│ │ │ ├── poryscript_pls.lua
│ │ │ ├── postgres_lsp.lua
│ │ │ ├── powershell_es.lua
│ │ │ ├── prismals.lua
│ │ │ ├── prolog_ls.lua
│ │ │ ├── prosemd_lsp.lua
│ │ │ ├── protols.lua
│ │ │ ├── psalm.lua
│ │ │ ├── pug.lua
│ │ │ ├── puppet.lua
│ │ │ ├── purescriptls.lua
│ │ │ ├── pylsp.lua
│ │ │ ├── pylyzer.lua
│ │ │ ├── pyre.lua
│ │ │ ├── pyright.lua
│ │ │ ├── qmlls.lua
│ │ │ ├── quick_lint_js.lua
│ │ │ ├── r_language_server.lua
│ │ │ ├── racket_langserver.lua
│ │ │ ├── raku_navigator.lua
│ │ │ ├── reason_ls.lua
│ │ │ ├── regal.lua
│ │ │ ├── regols.lua
│ │ │ ├── relay_lsp.lua
│ │ │ ├── remark_ls.lua
│ │ │ ├── rescriptls.lua
│ │ │ ├── rls.lua
│ │ │ ├── rnix.lua
│ │ │ ├── robotcode.lua
│ │ │ ├── robotframework_ls.lua
│ │ │ ├── roc_ls.lua
│ │ │ ├── rome.lua
│ │ │ ├── rpmspec.lua
│ │ │ ├── rubocop.lua
│ │ │ ├── ruby_lsp.lua
│ │ │ ├── ruff.lua
│ │ │ ├── ruff_lsp.lua
│ │ │ ├── rune_languageserver.lua
│ │ │ ├── rust_analyzer.lua
│ │ │ ├── salt_ls.lua
│ │ │ ├── scheme_langserver.lua
│ │ │ ├── scry.lua
│ │ │ ├── selene3p_ls.lua
│ │ │ ├── serve_d.lua
│ │ │ ├── shopify_theme_ls.lua
│ │ │ ├── sixtyfps.lua
│ │ │ ├── slangd.lua
│ │ │ ├── slint_lsp.lua
│ │ │ ├── smarty_ls.lua
│ │ │ ├── smithy_ls.lua
│ │ │ ├── snakeskin_ls.lua
│ │ │ ├── snyk_ls.lua
│ │ │ ├── solang.lua
│ │ │ ├── solargraph.lua
│ │ │ ├── solc.lua
│ │ │ ├── solidity.lua
│ │ │ ├── solidity_ls.lua
│ │ │ ├── solidity_ls_nomicfoundation.lua
│ │ │ ├── somesass_ls.lua
│ │ │ ├── sorbet.lua
│ │ │ ├── sourcekit.lua
│ │ │ ├── sourcery.lua
│ │ │ ├── spectral.lua
│ │ │ ├── spyglassmc_language_server.lua
│ │ │ ├── sqlls.lua
│ │ │ ├── sqls.lua
│ │ │ ├── standardrb.lua
│ │ │ ├── starlark_rust.lua
│ │ │ ├── starpls.lua
│ │ │ ├── statix.lua
│ │ │ ├── steep.lua
│ │ │ ├── stimulus_ls.lua
│ │ │ ├── stylelint_lsp.lua
│ │ │ ├── stylua3p_ls.lua
│ │ │ ├── superhtml.lua
│ │ │ ├── svelte.lua
│ │ │ ├── svlangserver.lua
│ │ │ ├── svls.lua
│ │ │ ├── swift_mesonls.lua
│ │ │ ├── syntax_tree.lua
│ │ │ ├── systemd_ls.lua
│ │ │ ├── tabby_ml.lua
│ │ │ ├── tailwindcss.lua
│ │ │ ├── taplo.lua
│ │ │ ├── tblgen_lsp_server.lua
│ │ │ ├── teal_ls.lua
│ │ │ ├── templ.lua
│ │ │ ├── terraform_lsp.lua
│ │ │ ├── terraformls.lua
│ │ │ ├── texlab.lua
│ │ │ ├── textlsp.lua
│ │ │ ├── tflint.lua
│ │ │ ├── theme_check.lua
│ │ │ ├── thriftls.lua
│ │ │ ├── tilt_ls.lua
│ │ │ ├── tinymist.lua
│ │ │ ├── ts_ls.lua
│ │ │ ├── ts_query_ls.lua
│ │ │ ├── tsp_server.lua
│ │ │ ├── ttags.lua
│ │ │ ├── turbo_ls.lua
│ │ │ ├── turtle_ls.lua
│ │ │ ├── tvm_ffi_navigator.lua
│ │ │ ├── twiggy_language_server.lua
│ │ │ ├── typeprof.lua
│ │ │ ├── typos_lsp.lua
│ │ │ ├── typst_lsp.lua
│ │ │ ├── uiua.lua
│ │ │ ├── ungrammar_languageserver.lua
│ │ │ ├── unison.lua
│ │ │ ├── unocss.lua
│ │ │ ├── uvls.lua
│ │ │ ├── v_analyzer.lua
│ │ │ ├── vacuum.lua
│ │ │ ├── vala_ls.lua
│ │ │ ├── vale_ls.lua
│ │ │ ├── vdmj.lua
│ │ │ ├── vectorcode_server.lua
│ │ │ ├── verible.lua
│ │ │ ├── veridian.lua
│ │ │ ├── veryl_ls.lua
│ │ │ ├── vhdl_ls.lua
│ │ │ ├── vimls.lua
│ │ │ ├── visualforce_ls.lua
│ │ │ ├── vls.lua
│ │ │ ├── volar.lua
│ │ │ ├── vscoqtop.lua
│ │ │ ├── vtsls.lua
│ │ │ ├── vuels.lua
│ │ │ ├── wasm_language_tools.lua
│ │ │ ├── wgsl_analyzer.lua
│ │ │ ├── yamlls.lua
│ │ │ ├── yang_lsp.lua
│ │ │ ├── yls.lua
│ │ │ ├── ziggy.lua
│ │ │ ├── ziggy_schema.lua
│ │ │ ├── zk.lua
│ │ │ └── zls.lua
│ │ ├── configs.lua
│ │ ├── health.lua
│ │ ├── manager.lua
│ │ ├── types/
│ │ │ └── lsp/
│ │ │ ├── ada_ls.lua
│ │ │ ├── astro.lua
│ │ │ ├── awk_ls.lua
│ │ │ ├── basedpyright.lua
│ │ │ ├── bashls.lua
│ │ │ ├── clangd.lua
│ │ │ ├── cssls.lua
│ │ │ ├── dartls.lua
│ │ │ ├── denols.lua
│ │ │ ├── elixirls.lua
│ │ │ ├── elmls.lua
│ │ │ ├── eslint.lua
│ │ │ ├── flow.lua
│ │ │ ├── fsautocomplete.lua
│ │ │ ├── grammarly.lua
│ │ │ ├── hhvm.lua
│ │ │ ├── hie.lua
│ │ │ ├── html.lua
│ │ │ ├── intelephense.lua
│ │ │ ├── java_language_server.lua
│ │ │ ├── jdtls.lua
│ │ │ ├── jsonls.lua
│ │ │ ├── julials.lua
│ │ │ ├── kotlin_language_server.lua
│ │ │ ├── ltex.lua
│ │ │ ├── lua_ls.lua
│ │ │ ├── luau_lsp.lua
│ │ │ ├── omnisharp.lua
│ │ │ ├── perlls.lua
│ │ │ ├── perlnavigator.lua
│ │ │ ├── perlpls.lua
│ │ │ ├── powershell_es.lua
│ │ │ ├── psalm.lua
│ │ │ ├── puppet.lua
│ │ │ ├── purescriptls.lua
│ │ │ ├── pylsp.lua
│ │ │ ├── pyright.lua
│ │ │ ├── r_language_server.lua
│ │ │ ├── rescriptls.lua
│ │ │ ├── rls.lua
│ │ │ ├── rome.lua
│ │ │ ├── ruff_lsp.lua
│ │ │ ├── rust_analyzer.lua
│ │ │ ├── solargraph.lua
│ │ │ ├── solidity_ls.lua
│ │ │ ├── sorbet.lua
│ │ │ ├── sourcekit.lua
│ │ │ ├── spectral.lua
│ │ │ ├── stylelint_lsp.lua
│ │ │ ├── svelte.lua
│ │ │ ├── svlangserver.lua
│ │ │ ├── tailwindcss.lua
│ │ │ ├── terraformls.lua
│ │ │ ├── tinymist.lua
│ │ │ ├── ts_ls.lua
│ │ │ ├── typst_lsp.lua
│ │ │ ├── volar.lua
│ │ │ ├── vtsls.lua
│ │ │ ├── vue_ls.lua
│ │ │ ├── yamlls.lua
│ │ │ └── zls.lua
│ │ ├── ui/
│ │ │ └── windows.lua
│ │ └── util.lua
│ └── lspconfig.lua
├── neovim.yml
├── nvim-lspconfig-scm-1.rockspec
├── plugin/
│ └── lspconfig.lua
├── scripts/
│ ├── docgen.lua
│ ├── docs_template.md
│ ├── docs_template.txt
│ ├── gen_annotations.lua
│ └── gen_json_schemas.lua
└── test/
├── lspconfig_spec.lua
└── test_dir/
├── a/
│ └── a_marker.txt
└── root_marker.txt
================================================
FILE CONTENTS
================================================
================================================
FILE: .codespellignorewords
================================================
abl
als
edn
esy
protols
================================================
FILE: .editorconfig
================================================
root = true
[*]
indent_style = space
indent_size = 2
tab_width = 8
end_of_line = lf
insert_final_newline = true
[*.lua]
max_line_length = 120
[{Makefile,**/Makefile,runtime/doc/*.txt}]
indent_style = tab
indent_size = 8
================================================
FILE: .emmyrc.json
================================================
{
"$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
"runtime": {
"version": "LuaJIT"
},
"diagnostics" : {
"disable" : [
"unnecessary-if"
],
"enables": [
"iter-variable-reassign",
"non-literal-expressions-in-assert",
"incomplete-signature-doc",
"missing-global-doc"
]
},
"strict": {
"typeCall": true,
"arrayIndex": true
},
"codeAction": {
"insertSpace": true
},
"workspace": {
"ignoreDir": [
"lspconfig/lua/",
"deps"
]
}
}
================================================
FILE: .github/CODEOWNERS
================================================
* @glepnir
/.github/ @dundargoc
/flake.lock @teto
/flake.nix @teto
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.yml
================================================
name: Bug report
description: Report a problem in nvim-lspconfig
labels: [bug]
body:
- type: markdown
attributes:
value: |
The configs in this repo are UNSUPPORTED and provided only as a starting point. We depend on users (like you) to troubleshoot issues with their specific LSP setups and [send improvements](https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md).
* Ask questions on [GitHub Discussions](https://github.com/neovim/neovim/discussions), NOT the issue tracker.
* Report feature requests or bugs in the core Nvim `vim.lsp` module [to Nvim core](https://github.com/neovim/neovim/issues/new?assignees=&labels=bug%2Clsp&projects=&template=lsp_bug_report.yml), NOT this repo.
- type: textarea
attributes:
label: "Description"
description: "Describe the problem. ALWAYS mention your exact Nvim version and show how you defined/enabled the LSP config."
validations:
required: true
================================================
FILE: .github/ISSUE_TEMPLATE/config.yml
================================================
blank_issues_enabled: false
contact_links:
- name: Question
url: https://vi.stackexchange.com/
about: Usage questions and support requests
================================================
FILE: .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
================================================
---
name: Pull Request
about: Submit a pull request
title: ''
---
================================================
FILE: .github/ci/lint.sh
================================================
#!/usr/bin/env bash
# USAGE: To run locally:
# bash .github/ci/lint.sh origin/master HEAD
set -e
REF_BRANCH="$1"
PR_BRANCH="$2"
_fail() {
echo
printf "lint.sh: %s\n" "$@"
exit 1
}
_check_generated_docs() {
if ! git diff "${REF_BRANCH}"..."${PR_BRANCH}" --exit-code -- doc/configs.md doc/configs.txt; then
_fail '`configs.md` or `configs.txt` will be regenerated by the docgen CI process. Edit the Lua source file instead.' \
'For details on generating documentation, see: https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md#generating-docs'
fi
}
# Enforce buffer-local commands.
_check_cmd_buflocal() {
if git grep -P 'nvim_create_user_command' -- 'lsp/*.lua' ; then
_fail 'Define commands with nvim_buf_create_user_command (buffer-local), not nvim_create_user_command'
fi
}
# Check that "@brief" docstring is the first line of each "lsp/*.lua" config.
_check_brief_placement() {
if find ./lsp -type f -name "*.lua" -exec awk 'NR==1 && !/brief/{print FILENAME}' {} \; | grep --color=never '.' ; then
_fail '`@brief` docstring must be at the top of the config source file'
fi
}
# Returned object should have `---@type vim.lsp.Config` annotation.
# CI checks luals/emmylua: https://github.com/neovim/nvim-lspconfig/pull/4185
_check_type() {
if git grep --files-without-match '\-\-\-\@type vim\.lsp\.Config' -- 'lsp/*.lua' ; then
_fail 'Missing `---@type vim.lsp.Config` annotation.'
fi
}
# Enforce "Lsp" prefix on all user commands.
_check_lsp_cmd_prefix() {
local exclude='tinymist'
if git grep -P 'nvim_buf_create_user_command' -- 'lsp/*.lua' | grep -v "$exclude" | grep --color -v Lsp ; then
_fail 'Command names must start with "Lsp" prefix'
fi
}
# Enforce client:exec_cmd().
_check_exec_cmd() {
local exclude='eslint\|pyright\|basedpyright'
if git grep -P 'workspace.executeCommand' -- 'lsp/*.lua' | grep -v "$exclude" ; then
_fail 'Use client:exec_cmd() instead of calling request("workspace/executeCommand") directly. Example: lsp/pyright.lua'
fi
}
# Disallow util functions in Nvim 0.11+ (lsp/) configs.
_check_deprecated_in_nvim_0_11() {
if git grep -P 'is_descendant' -- 'lsp/*.lua' ; then
_fail 'Use vim.fs.relpath() instead of util.path.is_descendant()'
fi
if git grep -P 'search_ancestors' -- 'lsp/*.lua' ; then
_fail 'Use vim.iter(vim.fs.parents(fname)):find(…) instead of util.path.search_ancestors(fname,…)'
fi
if git grep -P 'validate_bufnr' -- 'lsp/*.lua' ; then
_fail 'Do not use util.validate_bufnr(). Nvim stdlib already treats bufnr=0 as "current buffer".'
fi
if git grep -P 'single_file_support' -- 'lsp/*.lua' ; then
_fail 'vim.lsp.config assumes "single-file support" by default. If the LS does not support that, set workspace_required=true.'
fi
}
_check_deprecated_utils() {
# checks for added lines that contain search pattern and prints them
SEARCH_PATTERN='(path\.dirname|fn\.cwd)'
if git diff --pickaxe-all -U0 -G "${SEARCH_PATTERN}" "${REF_BRANCH}" "${PR_BRANCH}" -- '*.lua' | grep -Ev '(configs|utils)\.lua$' | grep -E "^\+.*${SEARCH_PATTERN}" ; then
_fail 'Do not use vim.fn.cwd or util.path.dirname in root_dir.' \
"See: https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md#new-config"
fi
SEARCH_PATTERN='(util\.path\.dirname|util\.path\.sanitize|util\.path\.exists|util\.path\.is_file|util\.path\.is_dir|util\.path\.join|util\.path\.iterate_parents|util\.find_mercurial_ancestor|util\.find_node_modules_ancestor|util\.find_package_json_ancestor|util\.find_git_ancestor|util\.get_lsp_clients|util\.get_active_client_by_name)'
if git diff --pickaxe-all -U0 -G "${SEARCH_PATTERN}" "${REF_BRANCH}" "${PR_BRANCH}" -- '*.lua' | grep -Ev '\.lua$' | grep -E "^\+.*${SEARCH_PATTERN}" ; then
_fail 'Do not use deprecated util functions: '"${SEARCH_PATTERN}"
fi
}
_check_legacy_configs() {
if ! git diff "${REF_BRANCH}"..."${PR_BRANCH}" --exit-code -- lua/lspconfig/configs/ ; then
_fail 'Configs in `lua/lspconfig/configs/*` are deprecated. Add or update configs in `lsp/*` instead.'
fi
}
_check_generated_docs
_check_cmd_buflocal
_check_brief_placement
_check_type
_check_lsp_cmd_prefix
_check_exec_cmd
_check_deprecated_in_nvim_0_11
_check_deprecated_utils
_check_legacy_configs
================================================
FILE: .github/dependabot.yml
================================================
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "ci"
================================================
FILE: .github/workflows/docgen.yml
================================================
name: docgen
on:
push:
branches:
- master
jobs:
docgen:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: nightly
- name: Run docgen
run: |
scripts/docgen.lua
- name: Commit changes
env:
COMMIT_MSG: |
docs: update configs.md
skip-checks: true
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add doc/configs.md doc/configs.txt
# Only commit and push if we have changes
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
================================================
FILE: .github/workflows/gen-annotations.yml
================================================
name: gen-annotations
on:
push:
paths:
- lsp/**
- scripts/gen_json_schemas.lua
- scripts/gen_annotations.lua
- .github/workflows/gen-annotations.yml
workflow_dispatch:
jobs:
gen-annotations:
if: github.actor != 'github-actions[bot]'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: nightly
- name: Generate JSON schemas
run: |
nvim -l scripts/gen_json_schemas.lua
- name: Generate annotations
run: |
nvim -l scripts/gen_annotations.lua
- name: Commit generated files
env:
COMMIT_MSG: |
chore: update generated annotations
skip-checks: true
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
git add -A lua/lspconfig/types
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
================================================
FILE: .github/workflows/lint.yml
================================================
name: lint
on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- run: |
if ! bash .github/ci/lint.sh ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}; then
exit 1
fi
luals:
runs-on: ubuntu-latest
env:
LUALS_VERSION: 3.15.0
steps:
- uses: actions/checkout@v6
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: nightly # Remove this to use stable.
- name: Install lua-language-server
run: |
mkdir -p build/luals
curl -L -o build/luals.tar.gz https://github.com/LuaLS/lua-language-server/releases/download/${LUALS_VERSION}/lua-language-server-${LUALS_VERSION}-linux-x64.tar.gz
tar -xzf build/luals.tar.gz -C build/luals
- name: Run luals
run: |
export VIMRUNTIME="$(nvim --headless --cmd 'echo $VIMRUNTIME' +q 2>&1)"
./build/luals/bin/lua-language-server --configpath=$(pwd)/.luarc.json --check=lsp/ --check=lua/lspconfig/types/lsp/ --checklevel=Hint
stylua:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: pip install codespell
- run: codespell --quiet-level=2 --check-hidden --skip=./doc/configs.md,./doc/configs.txt,./lua/lspconfig/types/lsp --ignore-words=.codespellignorewords
commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- run: npm install --save-dev @commitlint/{cli,config-conventional}
- run: |
echo "module.exports = { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js
- run: npx commitlint --from HEAD~1 --to HEAD --verbose
================================================
FILE: .github/workflows/release.yml
================================================
name: "release"
on:
push:
tags:
- '*'
jobs:
luarocks-upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v7
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
summary: "A collection of common configurations for Neovim's built-in language server client."
detailed_description: |
This plugin allows for declaratively configuring,
launching, and initializing language servers you have installed on your system.
Language server configurations are community-maintained.
license: "Apache/2.0"
================================================
FILE: .github/workflows/test.yml
================================================
name: test
on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
test:
name: Run Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
nvim_version: [nightly, 'v0.10.4']
steps:
- uses: actions/checkout@v6
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.nvim_version }}
- uses: leafo/gh-actions-lua@v12
with:
luaVersion: "luajit-openresty"
- uses: leafo/gh-actions-luarocks@v6
- name: Install vusted
run: luarocks install vusted
- name: Run test
run: vusted ./test
================================================
FILE: .gitignore
================================================
neovim
doc/tags
schemas
================================================
FILE: .luarc.json
================================================
{
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
"diagnostics" : {
"disable" : [
"inject-field",
"undefined-global"
]
},
"runtime": {
"version": "LuaJIT"
},
"workspace": {
"library": [
"lua",
"$VIMRUNTIME",
"${3rd}/luv/library"
],
"checkThirdParty": false
}
}
================================================
FILE: .stylua.toml
================================================
column_width = 120
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferSingle"
call_parentheses = "Input"
================================================
FILE: .styluaignore
================================================
lua/lspconfig/types/lsp
================================================
FILE: CONTRIBUTING.md
================================================
# Contributing to nvim-lspconfig
## Requirements
- [Lint requirements](#lint)
- Documentation is generated by `scripts/docgen.lua`.
- Only works on linux and macOS
## Scope of nvim-lspconfig
The purpose of nvim-lspconfig is to provide configuration so that users can activate LSP with a single `vim.lsp.enable('foo')` call.
It must not provide its own "framework". Any "framework" or "util" code must be upstreamed to Nvim core.
## Pull requests (PRs)
- Mark your pull request as "draft" until it's ready for review.
- Avoid cosmetic changes to unrelated files in the same commit.
- Use a **rebase workflow** for small PRs.
- After addressing review comments, it's fine to rebase and force-push.
## New config
### Criteria
New configs must meet these criteria (to avoid spam/quasi-marketing/vanity projects):
- GitHub Stars: The server repository should have at least 100 stars, or some other evidence (such as vscode marketplace downloads) that the LSP server is reasonably popular and is not spam/quasi-marketing/vanity projects.
- Provide some reference or evidence that the language targeted by the LSP server has an active user base.
This helps ensure that we only include actively maintained and widely used servers to provide a better experience for
the community.
### Walkthrough
To add a new config, copy an existing config from `lsp/`. Start with `lsp/lua_ls.lua` for a simple a config, or `lsp/jdtls.lua` or `lsp/pyright.lua` for more complex examples.
When choosing a config name, convert dashes (`-`) to underscores (`_`). If the name of the server is a unique name (`pyright`, `clangd`) or a commonly used abbreviation (`zls`), prefer this as the server name. If the server instead follows the pattern x-language-server, prefer the convention `x_ls` (`jsonnet_ls`).
The minimal config properties are:
* `cmd`: command defined as a string list, where the first item is an executable and following items are its arguments (`--stdio` is common).
```lua
cmd = { 'typescript-language-server', '--stdio' }
```
* `filetypes`: list of filetypes that should activate this config.
* `root_markers`: a list of files that mark the root of the project/workspace.
* See `:help lsp-config`.
* See `vim.fs.root()`
### Commands
LSP servers may provide custom `workspace/executeCommand` commands. Because LSP does not provide any way for clients to programmatically discover/list these commands, configs may define user commands in Nvim which invoke the `workspace/executeCommand` commands. To keep things maintainable and discoverable, configs must follow these guidelines:
- The server-specific user commands must be buffer-local and must be created in the `on_attach` handler.
- Be sure to use the `bufnr` passed as the 2nd argument to `on_attach` to refer to the buffer that the server has been attached to, as it may be different from the current buffer!
- The names of these commands must be prefixed with `:Lsp`. This is a crude way to improve "discoverability".
- Do NOT create commands that merely alias existing *code-actions* or *code-lenses*, which are *already* auto-discoverable via the ["gra" keymap](https://neovim.io/doc/user/lsp.html#gra) (or `vim.lsp.buf.code_action()`)
- Use `client:exec_cmd()` (instead of `request(..., 'workspace/executeCommand')`)
### Schemas
If possible, add the JSON schema for the LS to the index in [gen_json_schemas.lua](https://github.com/neovim/nvim-lspconfig/blob/3addf05a791ea256c36438220aced91c03071712/scripts/gen_json_schemas.lua#L2). CI will autogenerate LuaLS types from the schema. See [Generated LSP "settings" types](#generated-lsp-settings-types).
### Example
Following is an example new config for `lsp/pyright.lua`:
```lua
---@brief
---
--- https://github.com/microsoft/pyright
---
--- `pyright`, a static type checker and language server for python
return {
cmd = { 'pyright-langserver', '--stdio' },
filetypes = { 'python' },
root_markers = {
'pyproject.toml',
'setup.py',
'setup.cfg',
'requirements.txt',
'Pipfile',
'pyrightconfig.json',
},
---@type lspconfig.settings.pyright
settings = {
python = {
analysis = {
autoSearchPaths = true,
useLibraryCodeForTypes = true,
diagnosticMode = 'workspace',
},
},
},
on_attach = function(client, bufnr)
vim.api.nvim_buf_create_user_command(bufnr, 'LspPyrightOrganizeImports', function()
client:exec_cmd({
command = 'pyright.organizeimports',
arguments = { vim.uri_from_bufnr(bufnr) },
})
end, {
desc = 'Organize Imports',
})
end,
}
```
### Root marker priority
By default, the [`root_markers` field](https://neovim.io/doc/user/lsp.html#lsp-root_markers) is ordered by priority.
However, configs can specify "equal priority" (since Nvim 0.11.3) by placing names in a nested list.
For example in this config, `'package.json'` and `'tsconfig.json'` have *equal* priority, whereas `'.git'` has lower priority.
```lua
return {
…
root_markers = { { 'package.json', 'tsconfig.json' }, { '.git' } }
}
```
Since nvim-lspconfig still supports Nvim older than 0.11.3, avoid the "nested list" form on older versions of Nvim:
```lua
return {
…
root_markers = vim.fn.has('nvim-0.11.3') == 1
and { { 'package.json', 'tsconfig.json' }, { '.git' } }
or { 'package.json', 'tsconfig.json', '.git' }
}
```
## Rename or deprecate a config
If a config needs to be renamed or deprecated, changes its contents like this:
```lua
---@brief
---
--- Renamed to [systemd_lsp](#systemd_lsp)
---@type vim.lsp.Config
return vim.tbl_extend('force', vim.lsp.config.systemd_lsp, {
on_init = function(...)
vim.deprecate('systemd_ls', 'systemd_lsp', '3.0.0', 'nvim-lspconfig', false)
if vim.lsp.config.systemd_lsp.on_init then
vim.lsp.config.systemd_lsp.on_init(...)
end
end,
})
```
## Commit style
Follow the Neovim core [commit message guidelines](https://github.com/neovim/neovim/blob/master/CONTRIBUTING.md#commit-messages). Examples:
* Adding a new config for "lua_ls":
```
feat: lua_ls
```
* Fixing a bug for "lua_ls":
```
fix(lua_ls): update root directory pattern
Problem:
Root directory incorrectly prefers "foo".
Solution:
Rearrange the root dir definition.
```
## Lint
PRs are checked with the following analyzers:
- [luals](https://github.com/LuaLS/lua-language-server)
- [stylua](https://github.com/JohnnyMorganz/StyLua).
To run the linter locally:
make lint
If using nix, you can use `nix develop` to install these to a local nix shell.
## Generating docs
GitHub Actions automatically generates `configs.md`. Only modify
`scripts/docs_template.md` or the docstrings in the source of the config file.
Do not modify `configs.md` directly.
To preview the generated `configs.md` locally, run `scripts/docgen.lua` from
`nvim` (from the project root):
HOME=./ nvim --clean -R -Es -V1 +'set rtp+=$PWD' +'luafile scripts/docgen.lua'
## Generated LSP "settings" types
The `@class` declarations in `lua/lspconfig/types/lsp/*.lua` are generated by
`scripts/gen_annotations.lua`. The JSON schema index is manually maintained
in [gen_json_schemas.lua](https://github.com/neovim/nvim-lspconfig/blob/3addf05a791ea256c36438220aced91c03071712/scripts/gen_json_schemas.lua#L2).
The `package.json` follows the standard Node.js format, and VS Code uses
a [custom `contributes.configuration` field](https://github.com/neovim/nvim-lspconfig/blob/3addf05a791ea256c36438220aced91c03071712/scripts/gen_json_schemas.lua#L191)
to define the JSON Schema for `settings.json`.
================================================
FILE: LICENSE.md
================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
================================================
FILE: Makefile
================================================
test:
vusted ./test
lint:
@printf "\nRunning stylua\n"
stylua --check .
@printf "\nRunning emmylua\n"
emmylua_check .
.PHONY: test lint
================================================
FILE: README.md
================================================
# nvim-lspconfig
nvim-lspconfig is a collection of LSP server configurations for the [Nvim LSP client](https://neovim.io/doc/user/lsp.html).
View [all configs](doc/configs.md), or run `:help lspconfig-all` from Nvim.
## Important ⚠️
* `require('lspconfig')` (the legacy "framework" of nvim-lspconfig) [is **deprecated**](https://github.com/neovim/nvim-lspconfig/issues/3693) in favor of [vim.lsp.config](https://neovim.io/doc/user/lsp.html#lsp-config) (Nvim 0.11+).
* The [lspconfig.lua](./lua/lspconfig.lua) *module* will be dropped. Calls to `require('lspconfig')` will show a warning, which will later become an error.
* nvim-lspconfig itself is **NOT deprecated**. It provides server-specific configs.
* The configs live in the [lsp/](./lsp/) directory. `vim.lsp.config` automatically finds them and merges them with any local `lsp/*.lua` configs defined by you or a plugin.
* The old configs in [lua/lspconfig/](./lua/lspconfig/) are **deprecated** and will be removed.
### Migration instructions
1. Upgrade to Nvim 0.11+
2. (Optional) Use `vim.lsp.config('…')` (not `require'lspconfig'.….setup{}`) to *customize* or *define* a config.
3. Use `vim.lsp.enable('…')` (not `require'lspconfig'.….setup{}`) to *enable* a config, so that it activates for its `filetypes`.
## Support
These configs are **best-effort and supported by the community (you).** See [contributions](#contributions).
* Ask questions on [GitHub Discussions](https://github.com/neovim/neovim/discussions), not the issue tracker.
* If you found a bug in Nvim LSP (`:help lsp`), [report it to Neovim core](https://github.com/neovim/neovim/issues/new?assignees=&labels=bug%2Clsp&template=lsp_bug_report.yml).
* **Do not** report it here. Only configuration data lives here.
## Install
[](https://luarocks.org/modules/neovim/nvim-lspconfig)
* Requires Nvim 0.11.3+.
* Support for Nvim 0.10 [will be removed](https://github.com/neovim/nvim-lspconfig/issues/3693). Upgrade Nvim and nvim-lspconfig before reporting an issue.
* Install nvim-lspconfig using Vim's "packages" feature:
```
git clone https://github.com/neovim/nvim-lspconfig ~/.config/nvim/pack/nvim/start/nvim-lspconfig
```
* Or with Nvim 0.12 (nightly), you can use the builtin `vim.pack` plugin manager:
```lua
vim.pack.add{
{ src = 'https://github.com/neovim/nvim-lspconfig' },
}
```
* Or use a 3rd-party plugin manager.
## Quickstart
1. Install a language server, e.g. [pyright](doc/configs.md#pyright)
```bash
npm i -g pyright
```
2. Enable its config in your init.lua ([:help lsp-quickstart](https://neovim.io/doc/user/lsp.html#lsp-quickstart)).
```lua
vim.lsp.enable('pyright')
```
3. Ensure your project/workspace contains a root marker as specified in `:help lspconfig-all`.
4. Open a code file in Nvim. LSP will attach and provide diagnostics.
```
nvim main.py
```
5. Run `:checkhealth vim.lsp` to see the status or to troubleshoot.
See `:help lspconfig-all` for the full list of server-specific details. For
servers not on your `$PATH` (e.g., `jdtls`, `elixirls`), you must manually set
the `cmd` parameter:
```lua
vim.lsp.config('jdtls', {
cmd = { '/path/to/jdtls' },
})
```
## Commands
* `:LspInfo` (alias to `:checkhealth vim.lsp`) shows the status of active and configured language servers.
* `:lsp enable [<config_name>]` (`:LspStart` for Nvim 0.11 or older) Start the requested server name. Will only successfully start if the command detects a root directory matching the current config.
* `:lsp disable [<config_name>]` (`:LspStop` for Nvim 0.11 or older) Stops the given server. Defaults to stopping all servers active on the current buffer. To force stop use `:LspStop!`
* `:lsp restart [<client_name>]` (`:LspRestart` for Nvim 0.11 or older) Restarts the given client, and attempts to reattach to all previously attached buffers. Defaults to restarting all active servers.
## Configuration
Nvim sets default options and mappings when LSP is active in a buffer:
* [:help lsp-defaults](https://neovim.io/doc/user/lsp.html#lsp-defaults)
* [:help diagnostic-defaults](https://neovim.io/doc/user/diagnostic.html#diagnostic-defaults)
To customize, see:
* [:help lsp-attach](https://neovim.io/doc/user/lsp.html#lsp-attach)
* [:help lsp-buf](https://neovim.io/doc/user/lsp.html#lsp-buf)
Extra settings can be specified for each LSP server. With Nvim 0.11+ you can
[extend a config](https://neovim.io/doc/user/lsp.html#lsp-config) by calling
`vim.lsp.config('…', {…})`.
```lua
vim.lsp.config('rust_analyzer', {
-- Server-specific settings. See `:help lsp-quickstart`
settings = {
['rust-analyzer'] = {},
},
})
```
### Config priority
Configs are sourced in this order:
1. `lsp/` in 'runtimepath'
2. `after/lsp/` in 'runtimepath'
3. `vim.lsp.config()`
If you install nvim-lspconfig or similar plugins, the order that configs are applied depends on the load order. To ensure that your own config "wins" and overrides the others, use `after/lsp/` and/or `vim.lsp.config()` to override/extend the defaults.
## Creating a config
### As code
1. Run `:lua vim.lsp.config('foo', {cmd={'true'}})`
2. Run `:lua vim.lsp.enable('foo')`
3. Run `:checkhealth vim.lsp`, the new config is listed under "Enabled Configurations". 😎
### As a file
1. Create a file `after/lsp/foo.lua` somewhere on your 'runtimepath'.
```
:exe 'edit' stdpath('config') .. '/after/lsp/foo.lua'
```
2. Add this code to the file (or copy any of the examples from the [lsp/ directory](./lsp/) in this repo):
```
return {
cmd = { 'true' },
}
```
3. Save the file (with `++p` to ensure its parent directory is created).
```
:write ++p
```
4. Enable the config.
```
:lua vim.lsp.enable('foo')
```
5. Run `:checkhealth vim.lsp`, the new config is listed under "Enabled Configurations". 🌈
## LSP Settings Type Annotations
`nvim-lspconfig` generates Lua type definitions for each supported LSP server.
By manually adding annotations (e.g., `---@type lspconfig.settings.server_name`),
you enable auto-completion and diagnostics for your server settings.
**Example:**
```lua
---@type vim.lsp.Config
local config = {
---@type lspconfig.settings.lua_ls
settings = {
Lua = {
runtime = {
version = 'LuaJIT',
},
workspace = {
preloadFileSize = 10000,
library = {
vim.env.VIMRUNTIME,
}
},
},
},
}
vim.lsp.config('lua_ls', config)
```
## Troubleshooting
Start with `:checkhealth vim.lsp` to troubleshoot. The most common reasons a language server does not start or attach are:
1. Language server is not installed. nvim-lspconfig does not install language servers for you. You should be able to run the `cmd` defined in the config from the command line and see that the language server starts. If the `cmd` is a name instead of an absolute path, ensure it is on your `$PATH`.
2. Missing filetype plugins. Some languages are not detected by Nvim because they have not yet been added to the filetype detection system. Ensure `:set filetype?` shows the filetype and not an empty value.
3. Not triggering root detection. Some language servers require a "workspace", which is found by looking for an ancestor directory that contains a "root marker". The most common root marker is `.git/`, but each config defines other "root marker" names. Root markers/directories are listed in `:help lspconfig-all`.
You can also explicitly set a root instead of relying on automatic detection by enabling `'exrc'` and adding an `.nvim.lua` at the desired root dir with the following code:
```lua
vim.lsp.config('<client name>', {
root_dir = vim.fn.fnamemodify(debug.getinfo(1, 'S').source:sub(2), ':p:h'),
})
```
Note that prior to nvim 0.12 `exrc` file is executed only if it's inside of a cwd where you start `nvim`.
## Bug reports
If you found a bug with LSP functionality, [report it to Neovim core](https://github.com/neovim/neovim/issues/new?assignees=&labels=bug%2Clsp&template=lsp_bug_report.yml).
Before reporting a bug, check your logs and the output of `:checkhealth vim.lsp`. Add this to your init.lua to enable verbose logging:
```lua
vim.lsp.set_log_level("debug")
```
Attempt to run the language server, then run `:LspLog` to open the log.
Most of the time, the reason for failure is present in the logs.
## Contributions
If a language server is missing from [configs.md](doc/configs.md), contributing
a new configuration for it helps others, especially if the server requires special setup. Follow these steps:
1. Read [CONTRIBUTING.md](CONTRIBUTING.md).
2. Create a new file at `lsp/<server_name>.lua`.
- Copy an [existing config](https://github.com/neovim/nvim-lspconfig/tree/master/lsp)
to get started. Most configs are simple. For an extensive example see
[texlab.lua](https://github.com/neovim/nvim-lspconfig/blob/master/lsp/texlab.lua).
3. Ask questions on [GitHub Discussions](https://github.com/neovim/neovim/discussions) or in the [Neovim Matrix room](https://app.element.io/#/room/#neovim:matrix.org).
## Release process
To publish a release:
- Create and push a new [tag](https://github.com/neovim/nvim-lspconfig/tags).
- After pushing the tag, a [GitHub action](./.github/workflows/release.yml)
will automatically package the plugin and publish the release to LuaRocks.
## License
Copyright Neovim contributors. All rights reserved.
nvim-lspconfig is licensed under the terms of the Apache 2.0 license.
See [LICENSE.md](./LICENSE.md)
================================================
FILE: doc/configs.md
================================================
# LSP configs
LSP configurations provided by nvim-lspconfig are listed below. This
documentation is autogenerated from the Lua files. You can view this file in
Nvim by running `:help lspconfig-all`.
- [ada_ls](#ada_ls)
- [agda_ls](#agda_ls)
- [aiken](#aiken)
- [air](#air)
- [alloy_ls](#alloy_ls)
- [anakin_language_server](#anakin_language_server)
- [angularls](#angularls)
- [ansiblels](#ansiblels)
- [antlersls](#antlersls)
- [apex_ls](#apex_ls)
- [arduino_language_server](#arduino_language_server)
- [asm_lsp](#asm_lsp)
- [ast_grep](#ast_grep)
- [astro](#astro)
- [atlas](#atlas)
- [atopile](#atopile)
- [autohotkey_lsp](#autohotkey_lsp)
- [autotools_ls](#autotools_ls)
- [awk_ls](#awk_ls)
- [azure_pipelines_ls](#azure_pipelines_ls)
- [bacon_ls](#bacon_ls)
- [ballerina](#ballerina)
- [basedpyright](#basedpyright)
- [bashls](#bashls)
- [basics_ls](#basics_ls)
- [bazelrc_lsp](#bazelrc_lsp)
- [beancount](#beancount)
- [bicep](#bicep)
- [biome](#biome)
- [bitbake_language_server](#bitbake_language_server)
- [blueprint_ls](#blueprint_ls)
- [bqls](#bqls)
- [bright_script](#bright_script)
- [brioche](#brioche)
- [bsl_ls](#bsl_ls)
- [buck2](#buck2)
- [buddy_ls](#buddy_ls)
- [buf_ls](#buf_ls)
- [bzl](#bzl)
- [c3_lsp](#c3_lsp)
- [cairo_ls](#cairo_ls)
- [ccls](#ccls)
- [cds_lsp](#cds_lsp)
- [cir_lsp_server](#cir_lsp_server)
- [circom-lsp](#circom-lsp)
- [clangd](#clangd)
- [clarinet](#clarinet)
- [clojure_lsp](#clojure_lsp)
- [cmake](#cmake)
- [cobol_ls](#cobol_ls)
- [codebook](#codebook)
- [coffeesense](#coffeesense)
- [contextive](#contextive)
- [copilot](#copilot)
- [coq_lsp](#coq_lsp)
- [crystalline](#crystalline)
- [csharp_ls](#csharp_ls)
- [cspell_ls](#cspell_ls)
- [css_variables](#css_variables)
- [cssls](#cssls)
- [cssmodules_ls](#cssmodules_ls)
- [cucumber_language_server](#cucumber_language_server)
- [cue](#cue)
- [custom_elements_ls](#custom_elements_ls)
- [cypher_ls](#cypher_ls)
- [daedalus_ls](#daedalus_ls)
- [dafny](#dafny)
- [dagger](#dagger)
- [dartls](#dartls)
- [dcmls](#dcmls)
- [debputy](#debputy)
- [denols](#denols)
- [dhall_lsp_server](#dhall_lsp_server)
- [diagnosticls](#diagnosticls)
- [digestif](#digestif)
- [djls](#djls)
- [djlsp](#djlsp)
- [docker_compose_language_service](#docker_compose_language_service)
- [docker_language_server](#docker_language_server)
- [dockerls](#dockerls)
- [dolmenls](#dolmenls)
- [dotls](#dotls)
- [dprint](#dprint)
- [ds_pinyin_lsp](#ds_pinyin_lsp)
- [dts_lsp](#dts_lsp)
- [earthlyls](#earthlyls)
- [ecsact](#ecsact)
- [efm](#efm)
- [elixirls](#elixirls)
- [elmls](#elmls)
- [elp](#elp)
- [ember](#ember)
- [emmet_language_server](#emmet_language_server)
- [emmet_ls](#emmet_ls)
- [emmylua_ls](#emmylua_ls)
- [erg_language_server](#erg_language_server)
- [esbonio](#esbonio)
- [eslint](#eslint)
- [expert](#expert)
- [facility_language_server](#facility_language_server)
- [fennel_language_server](#fennel_language_server)
- [fennel_ls](#fennel_ls)
- [fish_lsp](#fish_lsp)
- [flow](#flow)
- [flux_lsp](#flux_lsp)
- [foam_ls](#foam_ls)
- [fortitude](#fortitude)
- [fortls](#fortls)
- [fsautocomplete](#fsautocomplete)
- [fsharp_language_server](#fsharp_language_server)
- [fstar](#fstar)
- [futhark_lsp](#futhark_lsp)
- [gdscript](#gdscript)
- [gdshader_lsp](#gdshader_lsp)
- [gh_actions_ls](#gh_actions_ls)
- [ghcide](#ghcide)
- [ghdl_ls](#ghdl_ls)
- [ginko_ls](#ginko_ls)
- [gitlab_ci_ls](#gitlab_ci_ls)
- [gitlab_duo](#gitlab_duo)
- [glasgow](#glasgow)
- [gleam](#gleam)
- [glint](#glint)
- [glsl_analyzer](#glsl_analyzer)
- [glslls](#glslls)
- [gn_language_server](#gn_language_server)
- [gnls](#gnls)
- [golangci_lint_ls](#golangci_lint_ls)
- [gopls](#gopls)
- [gradle_ls](#gradle_ls)
- [grammarly](#grammarly)
- [graphql](#graphql)
- [groovyls](#groovyls)
- [guile_ls](#guile_ls)
- [harper_ls](#harper_ls)
- [hdl_checker](#hdl_checker)
- [helm_ls](#helm_ls)
- [herb_ls](#herb_ls)
- [hhvm](#hhvm)
- [hie](#hie)
- [hlasm](#hlasm)
- [hls](#hls)
- [home_assistant](#home_assistant)
- [hoon_ls](#hoon_ls)
- [html](#html)
- [htmx](#htmx)
- [hydra_lsp](#hydra_lsp)
- [hylo_ls](#hylo_ls)
- [hyprls](#hyprls)
- [idris2_lsp](#idris2_lsp)
- [intelephense](#intelephense)
- [janet_lsp](#janet_lsp)
- [java_language_server](#java_language_server)
- [jdtls](#jdtls)
- [jedi_language_server](#jedi_language_server)
- [jinja_lsp](#jinja_lsp)
- [jqls](#jqls)
- [jsonls](#jsonls)
- [jsonnet_ls](#jsonnet_ls)
- [julials](#julials)
- [just](#just)
- [kakehashi](#kakehashi)
- [kcl](#kcl)
- [koka](#koka)
- [kotlin_language_server](#kotlin_language_server)
- [kotlin_lsp](#kotlin_lsp)
- [kulala_ls](#kulala_ls)
- [laravel_ls](#laravel_ls)
- [lean3ls](#lean3ls)
- [lelwel_ls](#lelwel_ls)
- [lemminx](#lemminx)
- [lexical](#lexical)
- [lsp_ai](#lsp_ai)
- [ltex](#ltex)
- [ltex_plus](#ltex_plus)
- [lua_ls](#lua_ls)
- [luau_lsp](#luau_lsp)
- [lwc_ls](#lwc_ls)
- [m68k](#m68k)
- [markdown_oxide](#markdown_oxide)
- [marko-js](#marko-js)
- [marksman](#marksman)
- [matlab_ls](#matlab_ls)
- [mdx_analyzer](#mdx_analyzer)
- [mesonlsp](#mesonlsp)
- [metals](#metals)
- [millet](#millet)
- [mint](#mint)
- [mlir_lsp_server](#mlir_lsp_server)
- [mlir_pdll_lsp_server](#mlir_pdll_lsp_server)
- [mm0_ls](#mm0_ls)
- [mojo](#mojo)
- [motoko_lsp](#motoko_lsp)
- [move_analyzer](#move_analyzer)
- [mpls](#mpls)
- [msbuild_project_tools_server](#msbuild_project_tools_server)
- [muon](#muon)
- [mutt_ls](#mutt_ls)
- [nelua_lsp](#nelua_lsp)
- [neocmake](#neocmake)
- [nextflow_ls](#nextflow_ls)
- [nextls](#nextls)
- [nginx_language_server](#nginx_language_server)
- [nickel_ls](#nickel_ls)
- [nil_ls](#nil_ls)
- [nim_langserver](#nim_langserver)
- [nimls](#nimls)
- [nixd](#nixd)
- [nomad_lsp](#nomad_lsp)
- [ntt](#ntt)
- [nushell](#nushell)
- [nxls](#nxls)
- [ocamllsp](#ocamllsp)
- [ols](#ols)
- [omnisharp](#omnisharp)
- [opencl_ls](#opencl_ls)
- [openscad_ls](#openscad_ls)
- [openscad_lsp](#openscad_lsp)
- [oso](#oso)
- [oxfmt](#oxfmt)
- [oxlint](#oxlint)
- [pact_ls](#pact_ls)
- [pasls](#pasls)
- [pbls](#pbls)
- [perlls](#perlls)
- [perlnavigator](#perlnavigator)
- [perlpls](#perlpls)
- [pest_ls](#pest_ls)
- [phan](#phan)
- [phpactor](#phpactor)
- [phptools](#phptools)
- [pico8_ls](#pico8_ls)
- [please](#please)
- [pli](#pli)
- [pony_language_server](#pony_language_server)
- [pony_lsp](#pony_lsp)
- [poryscript_pls](#poryscript_pls)
- [postgres_lsp](#postgres_lsp)
- [powershell_es](#powershell_es)
- [prismals](#prismals)
- [prolog_ls](#prolog_ls)
- [prosemd_lsp](#prosemd_lsp)
- [protols](#protols)
- [psalm](#psalm)
- [pug](#pug)
- [puppet](#puppet)
- [purescriptls](#purescriptls)
- [pylsp](#pylsp)
- [pylyzer](#pylyzer)
- [pyre](#pyre)
- [pyrefly](#pyrefly)
- [pyright](#pyright)
- [qmlls](#qmlls)
- [quick_lint_js](#quick_lint_js)
- [r_language_server](#r_language_server)
- [racket_langserver](#racket_langserver)
- [raku_navigator](#raku_navigator)
- [reason_ls](#reason_ls)
- [regal](#regal)
- [regols](#regols)
- [remark_ls](#remark_ls)
- [rescriptls](#rescriptls)
- [rls](#rls)
- [rnix](#rnix)
- [robotcode](#robotcode)
- [robotframework_ls](#robotframework_ls)
- [roc_ls](#roc_ls)
- [rome](#rome)
- [roslyn_ls](#roslyn_ls)
- [rpmspec](#rpmspec)
- [rubocop](#rubocop)
- [ruby_lsp](#ruby_lsp)
- [ruff](#ruff)
- [ruff_lsp](#ruff_lsp)
- [rumdl](#rumdl)
- [rune_languageserver](#rune_languageserver)
- [rust_analyzer](#rust_analyzer)
- [salt_ls](#salt_ls)
- [scheme_langserver](#scheme_langserver)
- [scry](#scry)
- [selene3p_ls](#selene3p_ls)
- [serve_d](#serve_d)
- [shopify_theme_ls](#shopify_theme_ls)
- [sixtyfps](#sixtyfps)
- [slangd](#slangd)
- [slint_lsp](#slint_lsp)
- [smarty_ls](#smarty_ls)
- [smithy_ls](#smithy_ls)
- [snakeskin_ls](#snakeskin_ls)
- [snyk_ls](#snyk_ls)
- [solang](#solang)
- [solargraph](#solargraph)
- [solc](#solc)
- [solidity](#solidity)
- [solidity_ls](#solidity_ls)
- [solidity_ls_nomicfoundation](#solidity_ls_nomicfoundation)
- [somesass_ls](#somesass_ls)
- [sorbet](#sorbet)
- [sourcekit](#sourcekit)
- [spectral](#spectral)
- [spyglassmc_language_server](#spyglassmc_language_server)
- [sqlls](#sqlls)
- [sqls](#sqls)
- [sqruff](#sqruff)
- [stan_ls](#stan_ls)
- [standardrb](#standardrb)
- [starlark_rust](#starlark_rust)
- [starpls](#starpls)
- [statix](#statix)
- [steep](#steep)
- [stimulus_ls](#stimulus_ls)
- [stylelint_lsp](#stylelint_lsp)
- [stylua](#stylua)
- [stylua3p_ls](#stylua3p_ls)
- [superhtml](#superhtml)
- [svelte](#svelte)
- [svlangserver](#svlangserver)
- [svls](#svls)
- [swift_mesonls](#swift_mesonls)
- [syntax_tree](#syntax_tree)
- [systemd_ls](#systemd_ls)
- [systemd_lsp](#systemd_lsp)
- [tabby_ml](#tabby_ml)
- [tailwindcss](#tailwindcss)
- [taplo](#taplo)
- [tblgen_lsp_server](#tblgen_lsp_server)
- [tclsp](#tclsp)
- [teal_ls](#teal_ls)
- [templ](#templ)
- [termux_language_server](#termux_language_server)
- [terraform_lsp](#terraform_lsp)
- [terraformls](#terraformls)
- [texlab](#texlab)
- [textlsp](#textlsp)
- [tflint](#tflint)
- [theme_check](#theme_check)
- [thriftls](#thriftls)
- [tilt_ls](#tilt_ls)
- [tinymist](#tinymist)
- [tofu_ls](#tofu_ls)
- [tombi](#tombi)
- [ts_ls](#ts_ls)
- [ts_query_ls](#ts_query_ls)
- [tsgo](#tsgo)
- [tsp_server](#tsp_server)
- [ttags](#ttags)
- [turbo_ls](#turbo_ls)
- [turtle_ls](#turtle_ls)
- [tvm_ffi_navigator](#tvm_ffi_navigator)
- [twiggy_language_server](#twiggy_language_server)
- [ty](#ty)
- [typeprof](#typeprof)
- [typos_lsp](#typos_lsp)
- [typst_lsp](#typst_lsp)
- [uiua](#uiua)
- [ungrammar_languageserver](#ungrammar_languageserver)
- [unison](#unison)
- [unocss](#unocss)
- [uvls](#uvls)
- [v_analyzer](#v_analyzer)
- [vacuum](#vacuum)
- [vala_ls](#vala_ls)
- [vale_ls](#vale_ls)
- [vectorcode_server](#vectorcode_server)
- [verible](#verible)
- [veridian](#veridian)
- [veryl_ls](#veryl_ls)
- [vespa_ls](#vespa_ls)
- [vhdl_ls](#vhdl_ls)
- [vimls](#vimls)
- [visualforce_ls](#visualforce_ls)
- [vls](#vls)
- [volar](#volar)
- [vscoqtop](#vscoqtop)
- [vsrocq](#vsrocq)
- [vtsls](#vtsls)
- [vue_ls](#vue_ls)
- [wasm_language_tools](#wasm_language_tools)
- [wc_language_server](#wc_language_server)
- [wgsl_analyzer](#wgsl_analyzer)
- [yamlls](#yamlls)
- [yang_lsp](#yang_lsp)
- [yls](#yls)
- [ziggy](#ziggy)
- [ziggy_schema](#ziggy_schema)
- [zk](#zk)
- [zls](#zls)
- [zuban](#zuban)
## ada_ls
https://github.com/AdaCore/ada_language_server
Installation instructions can be found [here](https://github.com/AdaCore/ada_language_server#Install).
Workspace-specific [settings](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md) such as `projectFile` can be provided in a `.als.json` file at the root of the workspace.
Alternatively, configuration may be passed as a "settings" object to `vim.lsp.config('ada_ls', {})`:
```lua
vim.lsp.config('ada_ls', {
settings = {
ada = {
projectFile = "project.gpr";
scenarioVariables = { ... };
}
}
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('ada_ls')
```
Default config:
- `cmd` :
```lua
{ "ada_language_server" }
```
- `filetypes` :
```lua
{ "ada" }
```
- `root_dir`: [../lsp/ada_ls.lua:24](../lsp/ada_ls.lua#L24)
---
## agda_ls
https://github.com/agda/agda-language-server
Language Server for Agda.
Snippet to enable the language server:
```lua
vim.lsp.enable('agda_ls')
```
Default config:
- `cmd` :
```lua
{ "als" }
```
- `filetypes` :
```lua
{ "agda" }
```
- `root_dir`: [../lsp/agda_ls.lua:10](../lsp/agda_ls.lua#L10)
---
## aiken
https://github.com/aiken-lang/aiken
A language server for Aiken Programming Language.
[Installation](https://aiken-lang.org/installation-instructions)
It can be i
Snippet to enable the language server:
```lua
vim.lsp.enable('aiken')
```
Default config:
- `cmd` :
```lua
{ "aiken", "lsp" }
```
- `filetypes` :
```lua
{ "aiken" }
```
- `root_markers` :
```lua
{ "aiken.toml", ".git" }
```
---
## air
https://github.com/posit-dev/air
Air is an R formatter and language server, written in Rust.
Refer to the [documentation](https://posit-dev.github.io/air/editors.html) for more details.
Snippet to enable the language server:
```lua
vim.lsp.enable('air')
```
Default config:
- `cmd` :
```lua
{ "air", "language-server" }
```
- `filetypes` :
```lua
{ "r" }
```
- `root_markers` :
```lua
{ "air.toml", ".air.toml", ".git" }
```
---
## alloy_ls
https://github.com/AlloyTools/org.alloytools.alloy
Alloy is a formal specification language for describing structures and a tool for exploring them.
You may also need to configure the filetype for Alloy (*.als) files:
```
autocmd BufNewFile,BufRead *.als set filetype=alloy
```
or
```lua
vim.filetype.add({
pattern = {
['.*/*.als'] = 'alloy',
},
})
```
Alternatively, you may use a syntax plugin like https://github.com/runoshun/vim-alloy.
Snippet to enable the language server:
```lua
vim.lsp.enable('alloy_ls')
```
Default config:
- `cmd` :
```lua
{ "alloy", "lsp" }
```
- `filetypes` :
```lua
{ "alloy" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## anakin_language_server
https://pypi.org/project/anakin-language-server/
`anakin-language-server` is yet another Jedi Python language server.
Available options:
* Initialization: https://github.com/muffinmad/anakin-language-server#initialization-option
* Configuration: https://github.com/muffinmad/anakin-language-server#configuration-options
Snippet to enable the language server:
```lua
vim.lsp.enable('anakin_language_server')
```
Default config:
- `cmd` :
```lua
{ "anakinls" }
```
- `filetypes` :
```lua
{ "python" }
```
- `root_markers` :
```lua
{ "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", ".git" }
```
- `settings` :
```lua
{
anakinls = {
pyflakes_errors = { "ImportStarNotPermitted", "UndefinedExport", "UndefinedLocal", "UndefinedName", "DuplicateArgument", "MultiValueRepeatedKeyLiteral", "MultiValueRepeatedKeyVariable", "FutureFeatureNotDefined", "LateFutureImport", "ReturnOutsideFunction", "YieldOutsideFunction", "ContinueOutsideLoop", "BreakOutsideLoop", "TwoStarredExpressions", "TooManyExpressionsInStarredAssignment", "ForwardAnnotationSyntaxError", "RaiseNotImplemented", "StringDotFormatExtraPositionalArguments", "StringDotFormatExtraNamedArguments", "StringDotFormatMissingArgument", "StringDotFormatMixingAutomatic", "StringDotFormatInvalidFormat", "PercentFormatInvalidFormat", "PercentFormatMixedPositionalAndNamed", "PercentFormatUnsupportedFormat", "PercentFormatPositionalCountMismatch", "PercentFormatExtraNamedArguments", "PercentFormatMissingArgument", "PercentFormatExpectedMapping", "PercentFormatExpectedSequence", "PercentFormatStarRequiresSequence" }
}
}
```
---
## angularls
https://github.com/angular/vscode-ng-language-service
`angular-language-server` can be installed via npm `npm install -g @angular/language-server`.
```lua
local project_library_path = "/path/to/project/lib"
local cmd = {"ngserver", "--stdio", "--tsProbeLocations", project_library_path , "--ngProbeLocations", project_library_path}
vim.lsp.config('angularls', {
cmd = cmd,
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('angularls')
```
Default config:
- `cmd`: [../lsp/angularls.lua:93](../lsp/angularls.lua#L93)
- `filetypes` :
```lua
{ "typescript", "html", "typescriptreact", "htmlangular" }
```
- `root_markers` :
```lua
{ "angular.json", "nx.json" }
```
---
## ansiblels
https://github.com/ansible/vscode-ansible
Language server for the ansible configuration management tool.
`ansible-language-server` can be installed via `npm`:
```sh
npm install -g @ansible/ansible-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('ansiblels')
```
Default config:
- `cmd` :
```lua
{ "ansible-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "yaml.ansible" }
```
- `root_markers` :
```lua
{ "ansible.cfg", ".ansible-lint" }
```
- `settings` :
```lua
{
ansible = {
ansible = {
path = "ansible"
},
executionEnvironment = {
enabled = false
},
python = {
interpreterPath = "python"
},
validation = {
enabled = true,
lint = {
enabled = true,
path = "ansible-lint"
}
}
}
}
```
---
## antlersls
https://www.npmjs.com/package/antlers-language-server
`antlersls` can be installed via `npm`:
```sh
npm install -g antlers-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('antlersls')
```
Default config:
- `cmd` :
```lua
{ "antlersls", "--stdio" }
```
- `filetypes` :
```lua
{ "html", "antlers" }
```
- `root_markers` :
```lua
{ "composer.json" }
```
---
## apex_ls
https://github.com/forcedotcom/salesforcedx-vscode
Language server for Apex.
For manual installation, download the JAR file from the [VSCode
extension](https://github.com/forcedotcom/salesforcedx-vscode/tree/develop/packages/salesforcedx-vscode-apex) and adjust the `apex_jar_path` appropriately.
```lua
vim.lsp.config('apex_ls', {
apex_jar_path = '/path/to/apex-jorje-lsp.jar',
apex_enable_semantic_errors = false, -- Whether to allow Apex Language Server to surface semantic errors
apex_enable_completion_statistics = false, -- Whether to allow Apex Language Server to collect telemetry on code completion usage
}
```
Example configuration using Mason:
```lua
vim.lsp.config('apex_ls', {
apex_jar_path = vim.fn.stdpath('data') .. '/mason/share/apex-language-server/apex-jorje-lsp.jar',
}
```
For a complete experience, you may need to ensure the treesitter parsers for 'apex' are installed (:TSInstall apex) as well as configure the filetype for apex (*.cls) files:
```lua
vim.filetype.add({
pattern = {
['.*/*.cls'] = 'apex',
},
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('apex_ls')
```
Default config:
- `cmd`: [../lsp/apex_ls.lua:37](../lsp/apex_ls.lua#L37)
- `filetypes` :
```lua
{ "apex", "apexcode" }
```
- `root_markers` :
```lua
{ "sfdx-project.json" }
```
---
## arduino_language_server
https://github.com/arduino/arduino-language-server
Language server for Arduino
The `arduino-language-server` can be installed by running:
```
go install github.com/arduino/arduino-language-server@latest
```
The `arduino-cli` tool must also be installed. Follow [these
installation instructions](https://arduino.github.io/arduino-cli/latest/installation/) for
your platform.
After installing `arduino-cli`, follow [these
instructions](https://arduino.github.io/arduino-cli/latest/getting-started/#create-a-configuration-file)
for generating a configuration file if you haven't done so already, and make
sure you [install any relevant platforms
libraries](https://arduino.github.io/arduino-cli/latest/getting-started/#install-the-core-for-your-board).
The language server also requires `clangd` to be installed. Follow [these
installation instructions](https://clangd.llvm.org/installation) for your
platform.
If you don't have a sketch yet create one.
```sh
$ arduino-cli sketch new test
$ cd test
```
You will need a `sketch.yaml` file in order for the language server to understand your project. It will also save you passing options to `arduino-cli` each time you compile or upload a file. You can generate the file by using the following commands.
First gather some information about your board. Make sure your board is connected and run the following:
```sh
$ arduino-cli board list
Port Protocol Type Board Name FQBN Core
/dev/ttyACM0 serial Serial Port (USB) Arduino Uno arduino:avr:uno arduino:avr
```
Then generate the file:
```sh
arduino-cli board attach -p /dev/ttyACM0 -b arduino:avr:uno test.ino
```
The resulting file should look like this:
```yaml
default_fqbn: arduino:avr:uno
default_port: /dev/ttyACM0
```
Your folder structure should look like this:
```
.
├── test.ino
└── sketch.yaml
```
For further instructions about configuration options, run `arduino-language-server --help`.
Note that an upstream bug makes keywords in some cases become undefined by the language server.
Ref: https://github.com/arduino/arduino-ide/issues/159
Snippet to enable the language server:
```lua
vim.lsp.enable('arduino_language_server')
```
Default config:
- `capabilities` :
```lua
{
textDocument = {
semanticTokens = vim.NIL
},
workspace = {
semanticTokens = vim.NIL
}
}
```
- `cmd` :
```lua
{ "arduino-language-server" }
```
- `filetypes` :
```lua
{ "arduino" }
```
- `root_dir`: [../lsp/arduino_language_server.lua:74](../lsp/arduino_language_server.lua#L74)
---
## asm_lsp
https://github.com/bergercookie/asm-lsp
Language Server for NASM/GAS/GO Assembly
`asm-lsp` can be installed via cargo:
cargo install asm-lsp
Snippet to enable the language server:
```lua
vim.lsp.enable('asm_lsp')
```
Default config:
- `cmd` :
```lua
{ "asm-lsp" }
```
- `filetypes` :
```lua
{ "asm", "vmasm" }
```
- `root_markers` :
```lua
{ ".asm-lsp.toml", ".git" }
```
---
## ast_grep
https://ast-grep.github.io/
ast-grep(sg) is a fast and polyglot tool for code structural search, lint, rewriting at large scale.
ast-grep LSP only works in projects that have `sgconfig.y[a]ml` in their root directories.
```sh
npm install [-g] @ast-grep/cli
```
Snippet to enable the language server:
```lua
vim.lsp.enable('ast_grep')
```
Default config:
- `cmd` :
```lua
{ "ast-grep", "lsp" }
```
- `filetypes` :
```lua
{ "bash", "c", "cpp", "cs", "css", "elixir", "go", "haskell", "html", "java", "javascript", "javascriptreact", "json", "kotlin", "lua", "nix", "php", "python", "ruby", "rust", "scala", "solidity", "swift", "typescript", "typescriptreact", "yaml" }
```
- `reuse_client`: [../lsp/ast_grep.lua:12](../lsp/ast_grep.lua#L12)
- `root_markers` :
```lua
{ "sgconfig.yaml", "sgconfig.yml" }
```
- `workspace_required` : `true`
---
## astro
https://github.com/withastro/language-tools/tree/main/packages/language-server
`astro-ls` can be installed via `npm`:
```sh
npm install -g @astrojs/language-server
```
If typescript is installed globally, you might get the `\`typescript.tsdk\` init option is required` error.
You will need to manually pass the typescript SDK path. Here is an example of a Nix configuration where typescript is installed via Nix's Home-manager:
```nix
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
typescript
];
programs.neovim = {
plugins = with pkgs.vimPlugins; [
nvim-lspconfig
];
extraPackages = with pkgs; [
astro-language-server
];
initLua = ''
vim.lsp.config['astro'] = {
init_options = {
typescript = {
tsdk = ${pkgs.typescript}/lib/node_modules/typescript/lib,
},
},
}
vim.lsp.enable('astro')
-- ...
'';
};
}
```
The path can also be passed via a variable, like `vim.g.tsdk = "${pkgs.typescript}/lib/node_modules/typescript/lib"` and then used in the Lua Neovim config.
Snippet to enable the language server:
```lua
vim.lsp.enable('astro')
```
Default config:
- `before_init`: [../lsp/astro.lua:49](../lsp/astro.lua#L49)
- `cmd` :
```lua
{ "astro-ls", "--stdio" }
```
- `filetypes` :
```lua
{ "astro" }
```
- `init_options` :
```lua
{
typescript = {}
}
```
- `root_markers` :
```lua
{ "package.json", "tsconfig.json", "jsconfig.json", ".git" }
```
---
## atlas
https://github.com/ariga/atlas
Language server for Atlas config and schema files.
You may also need to configure the filetype for *.hcl files:
```vim
autocmd BufNewFile,BufRead atlas.hcl set filetype=atlas-config
autocmd BufNewFile,BufRead *.my.hcl set filetype=atlas-schema-mysql
autocmd BufNewFile,BufRead *.pg.hcl set filetype=atlas-schema-postgresql
autocmd BufNewFile,BufRead *.lt.hcl set filetype=atlas-schema-sqlite
autocmd BufNewFile,BufRead *.ch.hcl set filetype=atlas-schema-clickhouse
autocmd BufNewFile,BufRead *.ms.hcl set filetype=atlas-schema-mssql
autocmd BufNewFile,BufRead *.rs.hcl set filetype=atlas-schema-redshift
autocmd BufNewFile,BufRead *.test.hcl set filetype=atlas-test
autocmd BufNewFile,BufRead *.plan.hcl set filetype=atlas-plan
autocmd BufNewFile,BufRead *.rule.hcl set filetype=atlas-rule
```
or
```lua
vim.filetype.add({
filename = {
['atlas.hcl'] = 'atlas-config',
},
pattern = {
['.*/*.my.hcl'] = 'atlas-schema-mysql',
['.*/*.pg.hcl'] = 'atlas-schema-postgresql',
['.*/*.lt.hcl'] = 'atlas-schema-sqlite',
['.*/*.ch.hcl'] = 'atlas-schema-clickhouse',
['.*/*.ms.hcl'] = 'atlas-schema-mssql',
['.*/*.rs.hcl'] = 'atlas-schema-redshift',
['.*/*.test.hcl'] = 'atlas-test',
['.*/*.plan.hcl'] = 'atlas-plan',
['.*/*.rule.hcl'] = 'atlas-rule',
},
})
```
Optionally, tell treesitter to treat Atlas filetypes as HCL for better syntax highlighting:
```lua
vim.treesitter.language.register('hcl', 'atlas-config')
vim.treesitter.language.register('hcl', 'atlas-schema-mysql')
vim.treesitter.language.register('hcl', 'atlas-schema-postgresql')
vim.treesitter.language.register('hcl', 'atlas-schema-sqlite')
vim.treesitter.language.register('hcl', 'atlas-schema-clickhouse')
vim.treesitter.language.register('hcl', 'atlas-schema-mssql')
vim.treesitter.language.register('hcl', 'atlas-schema-redshift')
vim.treesitter.language.register('hcl', 'atlas-test')
vim.treesitter.language.register('hcl', 'atlas-plan')
vim.treesitter.language.register('hcl', 'atlas-rule')
```
Snippet to enable the language server:
```lua
vim.lsp.enable('atlas')
```
Default config:
- `cmd` :
```lua
{ "atlas", "tool", "lsp", "--stdio" }
```
- `filetypes` :
```lua
{ "atlas-*" }
```
- `root_markers` :
```lua
{ "atlas.hcl" }
```
---
## atopile
https://atopile.io/
A language server for atopile Programming Language.
It comes with the atopile compiler, for installation see: [Installing atopile](https://docs.atopile.io/atopile/guides/install)
Snippet to enable the language server:
```lua
vim.lsp.enable('atopile')
```
Default config:
- `cmd` :
```lua
{ "ato", "lsp", "start" }
```
- `filetypes` :
```lua
{ "ato" }
```
- `root_markers` :
```lua
{ "ato.yaml", ".ato", ".git" }
```
---
## autohotkey_lsp
https://github.com/thqby/vscode-autohotkey2-lsp
AutoHotkey v2.0 LSP implementation
NOTE: AutoHotkey is Windows-only.
Snippet to enable the language server:
```lua
vim.lsp.enable('autohotkey_lsp')
```
Default config:
- `cmd` :
```lua
{ "autohotkey_lsp", "--stdio" }
```
- `filetypes` :
```lua
{ "autohotkey" }
```
- `flags` :
```lua
{
debounce_text_changes = 500
}
```
- `init_options` :
```lua
{
ActionWhenV1IsDetected = "Continue",
AutoLibInclude = "All",
CommentTags = "^;;\\s*(?<tag>.+)",
CompleteFunctionParens = false,
Diagnostics = {
ClassStaticMemberCheck = true,
ParamsCheck = true
},
FormatOptions = {
array_style = "expand",
brace_style = "One True Brace",
break_chained_methods = false,
ignore_comment = false,
indent_string = "\t",
max_preserve_newlines = 2,
object_style = "none",
preserve_newlines = true,
space_after_double_colon = true,
space_before_conditional = true,
space_in_empty_paren = false,
space_in_other = true,
space_in_paren = false,
wrap_line_length = 0
},
InterpreterPath = "",
SymbolFoldinFromOpenBrace = false,
locale = "en-us"
}
```
- `root_markers` :
```lua
{ "package.json" }
```
---
## autotools_ls
https://github.com/Freed-Wu/autotools-language-server
`autotools-language-server` can be installed via `pip`:
```sh
pip install autotools-language-server
```
Language server for autoconf, automake and make using tree sitter in python.
Snippet to enable the language server:
```lua
vim.lsp.enable('autotools_ls')
```
Default config:
- `cmd` :
```lua
{ "autotools-language-server" }
```
- `filetypes` :
```lua
{ "config", "automake", "make" }
```
- `root_dir`: [../lsp/autotools_ls.lua:17](../lsp/autotools_ls.lua#L17)
---
## awk_ls
https://github.com/Beaglefoot/awk-language-server/
`awk-language-server` can be installed via `npm`:
```sh
npm install -g awk-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('awk_ls')
```
Default config:
- `cmd` :
```lua
{ "awk-language-server" }
```
- `filetypes` :
```lua
{ "awk" }
```
---
## azure_pipelines_ls
https://github.com/microsoft/azure-pipelines-language-server
An Azure Pipelines language server
`azure-pipelines-ls` can be installed via `npm`:
```sh
npm install -g azure-pipelines-language-server
```
By default `azure-pipelines-ls` will only work in files named `azure-pipelines.yml`, this can be changed by providing additional settings like so:
```lua
vim.lsp.config('azure_pipelines_ls', {
... -- other configuration
settings = {
yaml = {
schemas = {
["https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/master/service-schema.json"] = {
"/azure-pipeline*.y*l",
"/*.azure*",
"Azure-Pipelines/**/*.y*l",
"Pipelines/*.y*l",
},
},
},
},
})
```
The Azure Pipelines LSP is a fork of `yaml-language-server` and as such the same settings can be passed to it as `yaml-language-server`.
Snippet to enable the language server:
```lua
vim.lsp.enable('azure_pipelines_ls')
```
Default config:
- `cmd` :
```lua
{ "azure-pipelines-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "yaml" }
```
- `root_markers` :
```lua
{ "azure-pipelines.yml" }
```
- `settings` :
```lua
{}
```
---
## bacon_ls
https://github.com/crisidev/bacon-ls
A Language Server Protocol wrapper for [bacon](https://dystroy.org/bacon/).
It offers textDocument/diagnostic and workspace/diagnostic capabilities for Rust
workspaces using the Bacon export locations file.
It requires `bacon` and `bacon-ls` to be installed on the system using
[mason.nvim](https://github.com/williamboman/mason.nvim) or manually
```sh
$ cargo install --locked bacon bacon-ls
```
Settings can be changed using the `init_options` dictionary:util
```lua
init_options = {
-- Bacon export filename (default: .bacon-locations).
locationsFile = ".bacon-locations",
-- Try to update diagnostics every time the file is saved (default: true).
updateOnSave = true,
-- How many milliseconds to wait before updating diagnostics after a save (default: 1000).
updateOnSaveWaitMillis = 1000,
-- Try to update diagnostics every time the file changes (default: true).
updateOnChange = true,
-- Try to validate that bacon preferences are setup correctly to work with bacon-ls (default: true).
validateBaconPreferences = true,
-- f no bacon preferences file is found, create a new preferences file with the bacon-ls job definition (default: true).
createBaconPreferencesFile = true,
-- Run bacon in background for the bacon-ls job (default: true)
runBaconInBackground = true,
-- Command line arguments to pass to bacon running in background (default "--headless -j bacon-ls")
runBaconInBackgroundCommandArguments = "--headless -j bacon-ls",
-- How many milliseconds to wait between background diagnostics check to synchronize all open files (default: 2000).
synchronizeAllOpenFilesWaitMillis = 2000,
}
```
Snippet to enable the language server:
```lua
vim.lsp.enable('bacon_ls')
```
Default config:
- `cmd` :
```lua
{ "bacon-ls" }
```
- `filetypes` :
```lua
{ "rust" }
```
- `init_options` :
```lua
{}
```
- `root_markers` :
```lua
{ ".bacon-locations", "Cargo.toml" }
```
---
## ballerina
Ballerina language server
The Ballerina language's CLI tool comes with its own language server implementation.
The `bal` command line tool must be installed and available in your system's PATH.
Snippet to enable the language server:
```lua
vim.lsp.enable('ballerina')
```
Default config:
- `cmd` :
```lua
{ "bal", "start-language-server" }
```
- `filetypes` :
```lua
{ "ballerina" }
```
- `root_markers` :
```lua
{ "Ballerina.toml" }
```
---
## basedpyright
https://detachhead.github.io/basedpyright
`basedpyright`, a static type checker and language server for python
Snippet to enable the language server:
```lua
vim.lsp.enable('basedpyright')
```
Default config:
- `cmd` :
```lua
{ "basedpyright-langserver", "--stdio" }
```
- `filetypes` :
```lua
{ "python" }
```
- `on_attach`: [../lsp/basedpyright.lua:25](../lsp/basedpyright.lua#L25)
- `root_markers` :
```lua
{ "pyrightconfig.json", "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", ".git" }
```
- `settings` :
```lua
{
basedpyright = {
analysis = {
autoSearchPaths = true,
diagnosticMode = "openFilesOnly"
}
}
}
```
---
## bashls
https://github.com/bash-lsp/bash-language-server
`bash-language-server` can be installed via `npm`:
```sh
npm i -g bash-language-server
```
Language server for bash, written using tree sitter in typescript.
Snippet to enable the language server:
```lua
vim.lsp.enable('bashls')
```
Default config:
- `cmd` :
```lua
{ "bash-language-server", "start" }
```
- `filetypes` :
```lua
{ "bash", "sh" }
```
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{
bashIde = {
globPattern = "*@(.sh|.inc|.bash|.command)"
}
}
```
---
## basics_ls
https://github.com/antonk52/basics-language-server/
Buffer, path, and snippet completion
```sh
npm install -g basics-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('basics_ls')
```
Default config:
- `cmd` :
```lua
{ "basics-language-server" }
```
- `settings` :
```lua
{
buffer = {
enable = true,
minCompletionLength = 4
},
path = {
enable = true
},
snippet = {
enable = false,
sources = {}
}
}
```
---
## bazelrc_lsp
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',
},
}
```
Snippet to enable the language server:
```lua
vim.lsp.enable('bazelrc_lsp')
```
Default config:
- `cmd` :
```lua
{ "bazelrc-lsp", "lsp" }
```
- `filetypes` :
```lua
{ "bazelrc" }
```
- `root_markers` :
```lua
{ "WORKSPACE", "WORKSPACE.bazel", "MODULE.bazel" }
```
---
## beancount
https://github.com/polarmutex/beancount-language-server#installation
See https://github.com/polarmutex/beancount-language-server#configuration for configuration options
Snippet to enable the language server:
```lua
vim.lsp.enable('beancount')
```
Default config:
- `cmd` :
```lua
{ "beancount-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "beancount", "bean" }
```
- `init_options` :
```lua
{}
```
- `root_markers` :
```lua
{ ".git" }
```
---
## bicep
https://github.com/azure/bicep
Bicep language server
Bicep language server can be installed by downloading and extracting a release of bicep-langserver.zip from [Bicep GitHub releases](https://github.com/Azure/bicep/releases).
Bicep language server requires the [dotnet-sdk](https://dotnet.microsoft.com/download) to be installed.
Neovim does not have built-in support for the bicep filetype which is required for lspconfig to automatically launch the language server.
Filetype detection can be added via an autocmd:
```lua
vim.cmd [[ autocmd BufNewFile,BufRead *.bicep set filetype=bicep ]]
```
**By default, bicep language server does not have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of the unzipped run script or binary.
```lua
local bicep_lsp_bin = "/path/to/bicep-langserver/Bicep.LangServer.dll"
vim.lsp.config('bicep', {
cmd = { "dotnet", bicep_lsp_bin };
...
})
```
To download the latest release and place in /usr/local/bin/bicep-langserver:
```bash
(cd $(mktemp -d) \
&& curl -fLO https://github.com/Azure/bicep/releases/latest/download/bicep-langserver.zip \
&& rm -rf /usr/local/bin/bicep-langserver \
&& unzip -d /usr/local/bin/bicep-langserver bicep-langserver.zip)
```
Snippet to enable the language server:
```lua
vim.lsp.enable('bicep')
```
Default config:
- `filetypes` :
```lua
{ "bicep", "bicep-params" }
```
- `init_options` :
```lua
{}
```
- `root_markers` :
```lua
{ ".git" }
```
---
## biome
https://biomejs.dev
Toolchain of the web. [Successor of Rome](https://biomejs.dev/blog/annoucing-biome).
```sh
npm install [-g] @biomejs/biome
```
### Monorepo support
`biome` supports monorepos by default. It will automatically find the `biome.json` corresponding to the package you are working on, as described in the [documentation](https://biomejs.dev/guides/big-projects/#monorepo). This works without the need of spawning multiple instances of `biome`, saving memory.
Snippet to enable the language server:
```lua
vim.lsp.enable('biome')
```
Default config:
- `cmd`: [../lsp/biome.lua:17](../lsp/biome.lua#L17)
- `filetypes` :
```lua
{ "astro", "css", "graphql", "html", "javascript", "javascriptreact", "json", "jsonc", "svelte", "typescript", "typescriptreact", "vue" }
```
- `root_dir`: [../lsp/biome.lua:17](../lsp/biome.lua#L17)
- `workspace_required` : `true`
---
## bitbake_language_server
https://github.com/Freed-Wu/bitbake-language-server
`bitbake-language-server` can be installed via `pip`:
```sh
pip install bitbake-language-server
```
Language server for bitbake.
Snippet to enable the language server:
```lua
vim.lsp.enable('bitbake_language_server')
```
Default config:
- `cmd` :
```lua
{ "bitbake-language-server" }
```
- `filetypes` :
```lua
{ "bitbake" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## blueprint_ls
https://gitlab.gnome.org/jwestman/blueprint-compiler
`blueprint-compiler` can be installed via your system package manager.
Language server for the blueprint markup language, written in python and part
of the blueprint-compiler.
Snippet to enable the language server:
```lua
vim.lsp.enable('blueprint_ls')
```
Default config:
- `cmd` :
```lua
{ "blueprint-compiler", "lsp" }
```
- `cmd_env` :
```lua
{
GLOB_PATTERN = "*@(.blp)"
}
```
- `filetypes` :
```lua
{ "blueprint" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## bqls
https://github.com/kitagry/bqls
The `bqls` BigQuery language server can be installed by running:
```sh
$ go install github.com/kitagry/bqls@latest
```
Snippet to enable the language server:
```lua
vim.lsp.enable('bqls')
```
Default config:
- `cmd` :
```lua
{ "bqls" }
```
- `filetypes` :
```lua
{ "sql" }
```
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{}
```
---
## bright_script
https://github.com/RokuCommunity/brighterscript
`brightscript` can be installed via `npm`:
```sh
npm install -g brighterscript
```
Snippet to enable the language server:
```lua
vim.lsp.enable('bright_script')
```
Default config:
- `cmd` :
```lua
{ "bsc", "--lsp", "--stdio" }
```
- `filetypes` :
```lua
{ "brs" }
```
- `root_markers` :
```lua
{ "makefile", "Makefile", ".git" }
```
---
## brioche
https://github.com/brioche-dev/brioche
`Brioche Language Server`.
Snippet to enable the language server:
```lua
vim.lsp.enable('brioche')
```
Default config:
- `cmd` :
```lua
{ "brioche", "lsp" }
```
- `filetypes` :
```lua
{ "brioche" }
```
- `root_markers` :
```lua
{ "project.bri" }
```
---
## bsl_ls
https://github.com/1c-syntax/bsl-language-server
Language Server Protocol implementation for 1C (BSL) - 1C:Enterprise 8 and OneScript languages.
Snippet to enable the language server:
```lua
vim.lsp.enable('bsl_ls')
```
Default config:
- `filetypes` :
```lua
{ "bsl", "os" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## buck2
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 ]]
```
Snippet to enable the language server:
```lua
vim.lsp.enable('buck2')
```
Default config:
- `cmd` :
```lua
{ "buck2", "lsp" }
```
- `filetypes` :
```lua
{ "bzl" }
```
- `root_markers` :
```lua
{ ".buckconfig" }
```
---
## buddy_ls
https://github.com/buddy-compiler/buddy-mlir#buddy-lsp-server
The Language Server for the buddy-mlir, a drop-in replacement for mlir-lsp-server,
supporting new dialects defined in buddy-mlir.
`buddy-lsp-server` can be installed at the buddy-mlir repository (buddy-compiler/buddy-mlir)
Snippet to enable the language server:
```lua
vim.lsp.enable('buddy_ls')
```
Default config:
- `cmd` :
```lua
{ "buddy-lsp-server" }
```
- `filetypes` :
```lua
{ "mlir" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## buf_ls
https://github.com/bufbuild/buf
buf lsp included in the cli itself
buf lsp is a Protobuf language server compatible with Buf modules and workspaces
Snippet to enable the language server:
```lua
vim.lsp.enable('buf_ls')
```
Default config:
- `cmd` :
```lua
{ "buf", "lsp", "serve", "--log-format=text" }
```
- `filetypes` :
```lua
{ "proto" }
```
- `reuse_client`: [../lsp/buf_ls.lua:9](../lsp/buf_ls.lua#L9)
- `root_markers` :
```lua
{ "buf.yaml", ".git" }
```
---
## bzl
https://bzl.io/
https://docs.stack.build/docs/cli/installation
https://docs.stack.build/docs/vscode/starlark-language-server
Snippet to enable the language server:
```lua
vim.lsp.enable('bzl')
```
Default config:
- `cmd` :
```lua
{ "bzl", "lsp", "serve" }
```
- `filetypes` :
```lua
{ "bzl" }
```
- `root_markers` :
```lua
{ "WORKSPACE", "WORKSPACE.bazel" }
```
---
## c3_lsp
https://github.com/pherrymason/c3-lsp
Language Server for c3.
Snippet to enable the language server:
```lua
vim.lsp.enable('c3_lsp')
```
Default config:
- `cmd` :
```lua
{ "c3lsp" }
```
- `filetypes` :
```lua
{ "c3", "c3i" }
```
- `root_markers` :
```lua
{ "project.json", "manifest.json", ".git" }
```
---
## cairo_ls
[Cairo Language Server](https://github.com/starkware-libs/cairo/tree/main/crates/cairo-lang-language-server)
First, install Cairo following [this tutorial](https://book.cairo-lang.org/ch01-01-installation.html)
Then enable Cairo Language Server in your Lua configuration.
```lua
vim.lsp.enable('cairo_ls')
```
*cairo-language-server is still under active development, some features might not work yet !*
Snippet to enable the language server:
```lua
vim.lsp.enable('cairo_ls')
```
Default config:
- `cmd` :
```lua
{ "scarb", "cairo-language-server", "/C", "--node-ipc" }
```
- `filetypes` :
```lua
{ "cairo" }
```
- `init_options` :
```lua
{
hostInfo = "neovim"
}
```
- `root_markers` :
```lua
{ "Scarb.toml", "cairo_project.toml", ".git" }
```
---
## ccls
https://github.com/MaskRay/ccls/wiki
ccls relies on a [JSON compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html) specified
as compile_commands.json or, for simpler projects, a .ccls.
For details on how to automatically generate one using CMake look [here](https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html). Alternatively, you can use [Bear](https://github.com/rizsotto/Bear).
Customization options are passed to ccls at initialization time via init_options, a list of available options can be found [here](https://github.com/MaskRay/ccls/wiki/Customization#initialization-options). For example:
```lua
vim.lsp.config("ccls", {
init_options = {
compilationDatabaseDirectory = "build";
index = {
threads = 0;
};
clang = {
excludeArgs = { "-frounding-math"} ;
};
}
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('ccls')
```
Default config:
- `cmd` :
```lua
{ "ccls" }
```
- `filetypes` :
```lua
{ "c", "cpp", "objc", "objcpp", "cuda" }
```
- `offset_encoding` :
```lua
"utf-32"
```
- `on_attach`: [../lsp/ccls.lua:41](../lsp/ccls.lua#L41)
- `root_markers` :
```lua
{ "compile_commands.json", ".ccls", ".git" }
```
- `workspace_required` : `true`
---
## cds_lsp
https://cap.cloud.sap/docs/
`cds-lsp` can be installed via `npm`:
```sh
npm i -g @sap/cds-lsp
```
Snippet to enable the language server:
```lua
vim.lsp.enable('cds_lsp')
```
Default config:
- `cmd` :
```lua
{ "cds-lsp", "--stdio" }
```
- `filetypes` :
```lua
{ "cds" }
```
- `root_markers` :
```lua
{ "package.json", "db", "srv" }
```
- `settings` :
```lua
{
cds = {
validate = true
}
}
```
---
## cir_lsp_server
https://llvm.github.io/clangir
The Language Server for the LLVM ClangIR language
`cir-lsp-server` can be installed at the llvm-project repository (https://github.com/llvm/llvm-project)
Snippet to enable the language server:
```lua
vim.lsp.enable('cir_lsp_server')
```
Default config:
- `cmd` :
```lua
{ "cir-lsp-server" }
```
- `filetypes` :
```lua
{ "cir" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## circom-lsp
[Circom Language Server](https://github.com/rubydusa/circom-lsp)
`circom-lsp`, the language server for the Circom language.
Snippet to enable the language server:
```lua
vim.lsp.enable('circom-lsp')
```
Default config:
- `cmd` :
```lua
{ "circom-lsp" }
```
- `filetypes` :
```lua
{ "circom" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## clangd
https://clangd.llvm.org/installation.html
- **NOTE:** Clang >= 11 is recommended! See [#23](https://github.com/neovim/nvim-lspconfig/issues/23).
- If `compile_commands.json` lives in a build directory, you should
symlink it to the root of your source tree.
```
ln -s /path/to/myproject/build/compile_commands.json /path/to/myproject/
```
- clangd relies on a [JSON compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html)
specified as compile_commands.json, see https://clangd.llvm.org/installation#compile_commandsjson
Snippet to enable the language server:
```lua
vim.lsp.enable('clangd')
```
Default config:
- `capabilities` :
```lua
{
offsetEncoding = { "utf-8", "utf-16" },
textDocument = {
completion = {
editsNearCursor = true
}
}
}
```
- `cmd` :
```lua
{ "clangd" }
```
- `filetypes` :
```lua
{ "c", "cpp", "objc", "objcpp", "cuda" }
```
- `get_language_id`: [../lsp/clangd.lua:65](../lsp/clangd.lua#L65)
- `on_attach`: [../lsp/clangd.lua:65](../lsp/clangd.lua#L65)
- `on_init`: [../lsp/clangd.lua:65](../lsp/clangd.lua#L65)
- `root_markers` :
```lua
{ ".clangd", ".clang-tidy", ".clang-format", "compile_commands.json", "compile_flags.txt", "configure.ac", ".git" }
```
---
## clarinet
https://github.com/hirosystems/clarinet
Clarinet is the fastest way to build, test, and deploy smart contracts on the Stacks blockchain.
Snippet to enable the language server:
```lua
vim.lsp.enable('clarinet')
```
Default config:
- `cmd` :
```lua
{ "clarinet", "lsp" }
```
- `filetypes` :
```lua
{ "clar", "clarity" }
```
- `root_markers` :
```lua
{ "Clarinet.toml" }
```
---
## clojure_lsp
https://github.com/clojure-lsp/clojure-lsp
Clojure Language Server
Snippet to enable the language server:
```lua
vim.lsp.enable('clojure_lsp')
```
Default config:
- `cmd` :
```lua
{ "clojure-lsp" }
```
- `filetypes` :
```lua
{ "clojure", "edn" }
```
- `root_markers` :
```lua
{ "project.clj", "deps.edn", "build.boot", "shadow-cljs.edn", ".git", "bb.edn" }
```
---
## cmake
https://github.com/regen100/cmake-language-server
CMake LSP Implementation
Snippet to enable the language server:
```lua
vim.lsp.enable('cmake')
```
Default config:
- `cmd` :
```lua
{ "cmake-language-server" }
```
- `filetypes` :
```lua
{ "cmake" }
```
- `init_options` :
```lua
{
buildDirectory = "build"
}
```
- `root_markers` :
```lua
{ "CMakePresets.json", "CTestConfig.cmake", ".git", "build", "cmake" }
```
---
## cobol_ls
Cobol language support
Snippet to enable the language server:
```lua
vim.lsp.enable('cobol_ls')
```
Default config:
- `cmd` :
```lua
{ "cobol-language-support" }
```
- `filetypes` :
```lua
{ "cobol" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## codebook
https://github.com/blopker/codebook
An unholy spell checker for code.
`codebook-lsp` can be installed by following the instructions [here](https://github.com/blopker/codebook/blob/main/README.md#installation).
The default `cmd` assumes that the `codebook-lsp` binary can be found in `$PATH`.
Snippet to enable the language server:
```lua
vim.lsp.enable('codebook')
```
Default config:
- `cmd` :
```lua
{ "codebook-lsp", "serve" }
```
- `filetypes` :
```lua
{ "c", "css", "gitcommit", "go", "haskell", "html", "java", "javascript", "javascriptreact", "lua", "markdown", "php", "python", "ruby", "rust", "swift", "toml", "text", "typescript", "typescriptreact", "zig" }
```
- `root_markers` :
```lua
{ ".git", "codebook.toml", ".codebook.toml" }
```
---
## coffeesense
https://github.com/phil294/coffeesense
CoffeeSense Language Server
`coffeesense-language-server` can be installed via `npm`:
```sh
npm install -g coffeesense-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('coffeesense')
```
Default config:
- `cmd` :
```lua
{ "coffeesense-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "coffee" }
```
- `root_markers` :
```lua
{ "package.json" }
```
---
## contextive
https://github.com/dev-cycles/contextive
Language Server for Contextive.
Contextive allows you to define terms in a central file and provides auto-completion suggestions and hover panels for these terms wherever they're used.
To install the language server, you need to download the appropriate [GitHub release asset](https://github.com/dev-cycles/contextive/releases/) for your operating system and architecture.
After the download unzip the Contextive.LanguageServer binary and copy the file into a folder that is included in your system's PATH.
Snippet to enable the language server:
```lua
vim.lsp.enable('contextive')
```
Default config:
- `cmd` :
```lua
{ "Contextive.LanguageServer" }
```
- `root_markers` :
```lua
{ ".contextive", ".git" }
```
---
## copilot
https://www.npmjs.com/package/@github/copilot-language-server
The Copilot Language Server enables any editor or IDE
to integrate with GitHub Copilot via
[the language server protocol](https://microsoft.github.io/language-server-protocol/).
**[GitHub Copilot](https://github.com/features/copilot)**
is an AI pair programmer tool that helps you write code faster and smarter.
**Sign up for [GitHub Copilot Free](https://github.com/settings/copilot)!**
Please see [terms of use for GitHub Copilot](https://docs.github.com/en/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot)
You need to enable `:help lsp-inline-completion` to receive suggestions. For example, you can enable it in the LspAttach event:
```lua
vim.api.nvim_create_autocmd('LspAttach', {
callback = function(args)
local bufnr = args.buf
local client = assert(vim.lsp.get_client_by_id(args.data.client_id))
if client:supports_method(vim.lsp.protocol.Methods.textDocument_inlineCompletion, bufnr) then
vim.lsp.inline_completion.enable(true, { bufnr = bufnr })
vim.keymap.set(
'i',
'<C-F>',
vim.lsp.inline_completion.get,
{ desc = 'LSP: accept inline completion', buffer = bufnr }
)
vim.keymap.set(
'i',
'<C-G>',
vim.lsp.inline_completion.select,
{ desc = 'LSP: switch inline completion', buffer = bufnr }
)
end
end
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('copilot')
```
Default config:
- `cmd` :
```lua
{ "copilot-language-server", "--stdio" }
```
- `init_options` :
```lua
{
editorInfo = {
name = "Neovim",
version = "0.12.0-dev+g238d4fa71a"
},
editorPluginInfo = {
name = "Neovim",
version = "0.12.0-dev+g238d4fa71a"
}
}
```
- `on_attach`: [../lsp/copilot.lua:106](../lsp/copilot.lua#L106)
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{
telemetry = {
telemetryLevel = "all"
}
}
```
---
## coq_lsp
https://github.com/ejgallego/coq-lsp/
Snippet to enable the language server:
```lua
vim.lsp.enable('coq_lsp')
```
Default config:
- `cmd` :
```lua
{ "coq-lsp" }
```
- `filetypes` :
```lua
{ "coq" }
```
- `root_markers` :
```lua
{ "_CoqProject", ".git" }
```
---
## crystalline
https://github.com/elbywan/crystalline
Crystal language server.
Snippet to enable the language server:
```lua
vim.lsp.enable('crystalline')
```
Default config:
- `cmd` :
```lua
{ "crystalline" }
```
- `filetypes` :
```lua
{ "crystal" }
```
- `root_markers` :
```lua
{ "shard.yml", ".git" }
```
---
## csharp_ls
https://github.com/razzmatazz/csharp-language-server
Language Server for C#.
csharp-ls requires the [dotnet-sdk](https://dotnet.microsoft.com/download) to be installed.
The preferred way to install csharp-ls is with `dotnet tool install --global csharp-ls`.
Snippet to enable the language server:
```lua
vim.lsp.enable('csharp_ls')
```
Default config:
- `cmd`: [../lsp/csharp_ls.lua:14](../lsp/csharp_ls.lua#L14)
- `filetypes` :
```lua
{ "cs" }
```
- `get_language_id`: [../lsp/csharp_ls.lua:14](../lsp/csharp_ls.lua#L14)
- `init_options` :
```lua
{
AutomaticWorkspaceInit = true
}
```
- `root_dir`: [../lsp/csharp_ls.lua:14](../lsp/csharp_ls.lua#L14)
---
## cspell_ls
[cspell language server](https://github.com/vlabo/cspell-lsp)
Snippet to enable the language server:
```lua
vim.lsp.enable('cspell_ls')
```
Default config:
- `cmd` :
```lua
{ "cspell-lsp", "--stdio" }
```
- `root_markers` :
```lua
{ ".git", "cspell.json", ".cspell.json", "cspell.json", ".cSpell.json", "cSpell.json", "cspell.config.js", "cspell.config.cjs", "cspell.config.json", "cspell.config.yaml", "cspell.config.yml", "cspell.yaml", "cspell.yml" }
```
---
## css_variables
https://github.com/vunguyentuan/vscode-css-variables/tree/master/packages/css-variables-language-server
CSS variables autocompletion and go-to-definition
`css-variables-language-server` can be installed via `npm`:
```sh
npm i -g css-variables-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('css_variables')
```
Default config:
- `cmd` :
```lua
{ "css-variables-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "css", "scss", "less" }
```
- `root_dir`: [../lsp/css_variables.lua:14](../lsp/css_variables.lua#L14)
- `settings` :
```lua
{
cssVariables = {
blacklistFolders = { "**/.cache", "**/.DS_Store", "**/.git", "**/.hg", "**/.next", "**/.svn", "**/bower_components", "**/CVS", "**/dist", "**/node_modules", "**/tests", "**/tmp" },
lookupFiles = { "**/*.less", "**/*.scss", "**/*.sass", "**/*.css" }
}
}
```
---
## cssls
https://github.com/hrsh7th/vscode-langservers-extracted
`css-languageserver` can be installed via `npm`:
```sh
npm i -g vscode-langservers-extracted
```
Neovim does not currently include built-in snippets. `vscode-css-language-server` only provides completions when snippet support is enabled. To enable completion, install a snippet plugin and add the following override to your language client capabilities during setup.
```lua
--Enable (broadcasting) snippet capability for completion
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
vim.lsp.config('cssls', {
capabilities = capabilities,
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('cssls')
```
Default config:
- `cmd` :
```lua
{ "vscode-css-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "css", "scss", "less" }
```
- `init_options` :
```lua
{
provideFormatter = true
}
```
- `root_markers` :
```lua
{ "package.json", ".git" }
```
- `settings` :
```lua
{
css = {
validate = true
},
less = {
validate = true
},
scss = {
validate = true
}
}
```
---
## cssmodules_ls
https://github.com/antonk52/cssmodules-language-server
Language server for autocompletion and go-to-definition functionality for CSS modules.
You can install cssmodules-language-server via npm:
```sh
npm install -g cssmodules-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('cssmodules_ls')
```
Default config:
- `cmd` :
```lua
{ "cssmodules-language-server" }
```
- `filetypes` :
```lua
{ "javascript", "javascriptreact", "typescript", "typescriptreact" }
```
- `root_markers` :
```lua
{ "package.json" }
```
---
## cucumber_language_server
https://cucumber.io
https://github.com/cucumber/common
https://www.npmjs.com/package/@cucumber/language-server
Language server for Cucumber.
`cucumber-language-server` can be installed via `npm`:
```sh
npm install -g @cucumber/language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('cucumber_language_server')
```
Default config:
- `cmd` :
```lua
{ "cucumber-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "cucumber" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## cue
https://github.com/cue-lang/cue
CUE makes it easy to validate data, write schemas, and ensure configurations align with policies.
Snippet to enable the language server:
```lua
vim.lsp.enable('cue')
```
Default config:
- `cmd` :
```lua
{ "cue", "lsp" }
```
- `filetypes` :
```lua
{ "cue" }
```
- `root_markers` :
```lua
{ "cue.mod", ".git" }
```
---
## custom_elements_ls
https://github.com/Matsuuu/custom-elements-language-server
`custom-elements-languageserver` depends on `typescript`. Both packages can be installed via `npm`:
```sh
npm install -g typescript custom-elements-languageserver
```
To configure typescript language server, add a
[`tsconfig.json`](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) or
[`jsconfig.json`](https://code.visualstudio.com/docs/languages/jsconfig) to the root of your
project.
Here's an example that disables type checking in JavaScript files.
```json
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"checkJs": false
},
"exclude": [
"node_modules"
]
}
```
Snippet to enable the language server:
```lua
vim.lsp.enable('custom_elements_ls')
```
Default config:
- `cmd` :
```lua
{ "custom-elements-languageserver", "--stdio" }
```
- `init_options` :
```lua
{
hostInfo = "neovim"
}
```
- `root_markers` :
```lua
{ "tsconfig.json", "package.json", "jsconfig.json", ".git" }
```
---
## cypher_ls
https://github.com/neo4j/cypher-language-support/tree/main/packages/language-server
`cypher-language-server`, language server for Cypher query language.
Part of the umbrella project cypher-language-support: https://github.com/neo4j/cypher-language-support
`cypher-language-server` can be installed via `npm`:
```sh
npm i -g @neo4j-cypher/language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('cypher_ls')
```
Default config:
- `cmd` :
```lua
{ "cypher-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "cypher" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## daedalus_ls
DaedalusLanguageServer
Snippet to enable the language server:
```lua
vim.lsp.enable('daedalus_ls')
```
Default config:
- `cmd` :
```lua
{ "DaedalusLanguageServer" }
```
- `filetypes` :
```lua
{ "d" }
```
- `root_markers` :
```lua
{ "Gothic.src", "Camera.src", "Menu.src", "Music.src", "ParticleFX.src", "SFX.src", "VisualFX.src" }
```
- `settings` :
```lua
{
DaedalusLanguageServer = {
fileEncoding = "Windows-1252",
inlayHints = {
constants = true
},
loglevel = "debug",
numParserThreads = 16,
srcFileEncoding = "Windows-1252"
}
}
```
---
## dafny
Support for the Dafny language server.
Snippet to enable the language server:
```lua
vim.lsp.enable('dafny')
```
Default config:
- `cmd` :
```lua
{ "dafny", "server" }
```
- `filetypes` :
```lua
{ "dfy", "dafny" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## dagger
https://github.com/dagger/cuelsp
Dagger's lsp server for cuelang.
Snippet to enable the language server:
```lua
vim.lsp.enable('dagger')
```
Default config:
- `cmd` :
```lua
{ "cuelsp" }
```
- `filetypes` :
```lua
{ "cue" }
```
- `root_markers` :
```lua
{ "cue.mod", ".git" }
```
---
## dartls
https://github.com/dart-lang/sdk/tree/master/pkg/analysis_server/tool/lsp_spec
Language server for dart.
Snippet to enable the language server:
```lua
vim.lsp.enable('dartls')
```
Default config:
- `cmd` :
```lua
{ "dart", "language-server", "--protocol=lsp" }
```
- `filetypes` :
```lua
{ "dart" }
```
- `init_options` :
```lua
{
closingLabels = true,
flutterOutline = true,
onlyAnalyzeProjectsWithOpenFiles = true,
outline = true,
suggestFromUnimportedLibraries = true
}
```
- `root_markers` :
```lua
{ "pubspec.yaml" }
```
- `settings` :
```lua
{
dart = {
completeFunctionCalls = true,
showTodos = true
}
}
```
---
## dcmls
https://dcm.dev/
Language server for DCM analyzer.
Snippet to enable the language server:
```lua
vim.lsp.enable('dcmls')
```
Default config:
- `cmd` :
```lua
{ "dcm", "start-server", "--client=neovim" }
```
- `filetypes` :
```lua
{ "dart" }
```
- `root_markers` :
```lua
{ "pubspec.yaml" }
```
---
## debputy
https://salsa.debian.org/debian/debputy
Language Server for Debian packages.
Snippet to enable the language server:
```lua
vim.lsp.enable('debputy')
```
Default config:
- `cmd` :
```lua
{ "debputy", "lsp", "server" }
```
- `filetypes` :
```lua
{ "debcontrol", "debcopyright", "debchangelog", "autopkgtest", "make", "yaml" }
```
- `root_markers` :
```lua
{ "debian" }
```
---
## denols
https://github.com/denoland/deno
Deno's built-in language server
To appropriately highlight codefences returned from denols, you will need to augment vim.g.markdown_fenced languages
in your init.lua. Example:
```lua
vim.g.markdown_fenced_languages = {
"ts=typescript"
}
```
Some care must be taken here to correctly infer whether a file is part of a Deno program, or a TS program that
expects to run in Node or Web Browsers. This supports having a Deno module that is a part of a mostly-not-Deno
monorepo. We do this by finding the nearest package manager lock file, and the nearest deno.json or deno.jsonc.
Note that this means that without a deno.json, deno.jsonc, or deno.lock file, this LSP client will not attach.
Example:
```
project-root
+-- node_modules/...
+-- package-lock.json
+-- package.json
+-- packages
+-- deno-module
| +-- deno.json
| +-- package.json <-- It's normal for Deno projects to have package.json files!
| +-- src
| +-- index.ts <-- this is a Deno file
+-- node-module
+-- package.json
+-- src
+-- index.ts <-- a non-Deno file (ie, should use ts_ls or tsgo)
```
From the file being edited, we walk up to find the nearest package manager lockfile. This is PROJECT ROOT.
From the file being edited, find the nearest deno.json or deno.jsonc. This is DENO ROOT.
From the file being edited, find the nearest deno.lock. This is DENO LOCK ROOT
If DENO LOCK ROOT is found, and PROJECT ROOT is missing or shorter, then this is a deno file, and we attach.
If DENO ROOT is found, and it's longer than or equal to PROJECT ROOT, then this is a Deno file, and we attach.
Otherwise, we abort, because this is a non-Deno TS file.
Snippet to enable the language server:
```lua
vim.lsp.enable('denols')
```
Default config:
- `cmd` :
```lua
{ "deno", "lsp" }
```
- `cmd_env` :
```lua
{
NO_COLOR = true
}
```
- `filetypes` :
```lua
{ "javascript", "javascriptreact", "typescript", "typescriptreact" }
```
- `handlers` :
```lua
{
["textDocument/definition"] = <function 1>,
["textDocument/references"] = <function 1>,
["textDocument/typeDefinition"] = <function 1>
}
```
- `on_attach`: [../lsp/denols.lua:98](../lsp/denols.lua#L98)
- `root_dir`: [../lsp/denols.lua:98](../lsp/denols.lua#L98)
- `settings` :
```lua
{
deno = {
enable = true,
suggest = {
imports = {
hosts = {
["https://deno.land"] = true
}
}
}
}
}
```
---
## dhall_lsp_server
https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server
language server for dhall
`dhall-lsp-server` can be installed via cabal:
```sh
cabal install dhall-lsp-server
```
prebuilt binaries can be found [here](https://github.com/dhall-lang/dhall-haskell/releases).
Snippet to enable the language server:
```lua
vim.lsp.enable('dhall_lsp_server')
```
Default config:
- `cmd` :
```lua
{ "dhall-lsp-server" }
```
- `filetypes` :
```lua
{ "dhall" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## diagnosticls
https://github.com/iamcco/diagnostic-languageserver
Diagnostic language server integrate with linters.
Snippet to enable the language server:
```lua
vim.lsp.enable('diagnosticls')
```
Default config:
- `cmd` :
```lua
{ "diagnostic-languageserver", "--stdio" }
```
- `filetypes` :
```lua
{}
```
- `root_markers` :
```lua
{ ".git" }
```
---
## digestif
https://github.com/astoff/digestif
Digestif is a code analyzer, and a language server, for LaTeX, ConTeXt et caterva. It provides
context-sensitive completion, documentation, code navigation, and related functionality to any
text editor that speaks the LSP protocol.
Snippet to enable the language server:
```lua
vim.lsp.enable('digestif')
```
Default config:
- `cmd` :
```lua
{ "digestif" }
```
- `filetypes` :
```lua
{ "tex", "plaintex", "context" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## djls
https://github.com/joshuadavidthomas/django-language-server
`djls`, a language server for the Django web framework.
Snippet to enable the language server:
```lua
vim.lsp.enable('djls')
```
Default config:
- `cmd` :
```lua
{ "djls", "serve" }
```
- `filetypes` :
```lua
{ "htmldjango", "html", "python" }
```
- `root_markers` :
```lua
{ "manage.py", "pyproject.toml", ".git" }
```
---
## djlsp
https://github.com/fourdigits/django-template-lsp
`djlsp`, a language server for Django templates.
Snippet to enable the language server:
```lua
vim.lsp.enable('djlsp')
```
Default config:
- `cmd` :
```lua
{ "djlsp" }
```
- `filetypes` :
```lua
{ "html", "htmldjango" }
```
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{}
```
---
## docker_compose_language_service
https://github.com/microsoft/compose-language-service
This project contains a language service for Docker Compose.
`compose-language-service` can be installed via `npm`:
```sh
npm install @microsoft/compose-language-service
```
Note: If the docker-compose-langserver doesn't startup when entering a `docker-compose.yaml` file, make sure that the filetype is `yaml.docker-compose`. You can set with: `:set filetype=yaml.docker-compose`.
Snippet to enable the language server:
```lua
vim.lsp.enable('docker_compose_language_service')
```
Default config:
- `cmd` :
```lua
{ "docker-compose-langserver", "--stdio" }
```
- `filetypes` :
```lua
{ "yaml.docker-compose" }
```
- `root_markers` :
```lua
{ "docker-compose.yaml", "docker-compose.yml", "compose.yaml", "compose.yml" }
```
---
## docker_language_server
https://github.com/docker/docker-language-server
`docker-langserver-server` can be installed via `go`:
```sh
go install github.com/docker/docker-language-server/cmd/docker-language-server@latest
```
Snippet to enable the language server:
```lua
vim.lsp.enable('docker_language_server')
```
Default config:
- `cmd` :
```lua
{ "docker-language-server", "start", "--stdio" }
```
- `filetypes` :
```lua
{ "dockerfile", "yaml.docker-compose" }
```
- `get_language_id`: [../lsp/docker_language_server.lua:11](../lsp/docker_language_server.lua#L11)
- `root_markers` :
```lua
{ "Dockerfile", "docker-compose.yaml", "docker-compose.yml", "compose.yaml", "compose.yml", "docker-bake.json", "docker-bake.hcl", "docker-bake.override.json", "docker-bake.override.hcl" }
```
---
## dockerls
https://github.com/rcjsuen/dockerfile-language-server-nodejs
`docker-langserver` can be installed via `npm`:
```sh
npm install -g dockerfile-language-server-nodejs
```
Additional configuration can be applied in the following way:
```lua
vim.lsp.config('dockerls', {
settings = {
docker = {
languageserver = {
formatter = {
ignoreMultilineInstructions = true,
},
},
}
}
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('dockerls')
```
Default config:
- `cmd` :
```lua
{ "docker-langserver", "--stdio" }
```
- `filetypes` :
```lua
{ "dockerfile" }
```
- `root_markers` :
```lua
{ "Dockerfile" }
```
---
## dolmenls
https://github.com/Gbury/dolmen/blob/master/doc/lsp.md
`dolmenls` can be installed via `opam`
```sh
opam install dolmen_lsp
```
Snippet to enable the language server:
```lua
vim.lsp.enable('dolmenls')
```
Default config:
- `cmd` :
```lua
{ "dolmenls" }
```
- `filetypes` :
```lua
{ "smt2", "tptp", "p", "cnf", "icnf", "zf" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## dotls
https://github.com/nikeee/dot-language-server
`dot-language-server` can be installed via `npm`:
```sh
npm install -g dot-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('dotls')
```
Default config:
- `cmd` :
```lua
{ "dot-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "dot" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## dprint
https://github.com/dprint/dprint
Pluggable and configurable code formatting platform written in Rust.
Snippet to enable the language server:
```lua
vim.lsp.enable('dprint')
```
Default config:
- `cmd` :
```lua
{ "dprint", "lsp" }
```
- `filetypes` :
```lua
{ "javascript", "javascriptreact", "typescript", "typescriptreact", "json", "jsonc", "markdown", "python", "toml", "rust", "roslyn", "graphql" }
```
- `root_markers` :
```lua
{ "dprint.json", ".dprint.json", "dprint.jsonc", ".dprint.jsonc" }
```
- `settings` :
```lua
{}
```
---
## ds_pinyin_lsp
https://github.com/iamcco/ds-pinyin-lsp
Dead simple Pinyin language server for input Chinese without IME(input method).
To install, download the latest [release](https://github.com/iamcco/ds-pinyin-lsp/releases) and ensure `ds-pinyin-lsp` is on your path.
And make ensure the database file `dict.db3` is also downloaded. And put the path to `dict.dbs` in the following code.
```lua
vim.lsp.config('ds_pinyin_lsp', {
init_options = {
db_path = "your_path_to_database"
}
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('ds_pinyin_lsp')
```
Default config:
- `cmd` :
```lua
{ "ds-pinyin-lsp" }
```
- `filetypes` :
```lua
{ "markdown", "org" }
```
- `init_options` :
```lua
{
completion_on = true,
match_as_same_as_input = true,
match_long_input = true,
max_suggest = 15,
show_symbols = true,
show_symbols_by_n_times = 0,
show_symbols_only_follow_by_hanzi = false
}
```
- `on_attach`: [../lsp/ds_pinyin_lsp.lua:48](../lsp/ds_pinyin_lsp.lua#L48)
- `root_markers` :
```lua
{ ".git" }
```
---
## dts_lsp
`dts-lsp` is an LSP for Devicetree files built on top of tree-sitter-devicetree grammar.
Language servers can be used in many editors, such as Visual Studio Code, Emacs
or Vim
Install `dts-lsp` from https://github.com/igor-prusov/dts-lsp and add it to path
`dts-lsp` doesn't require any configuration.
More about Devicetree:
https://www.devicetree.org/
https://docs.zephyrproject.org/latest/build/dts/index.html
Snippet to enable the language server:
```lua
vim.lsp.enable('dts_lsp')
```
Default config:
- `cmd` :
```lua
{ "dts-lsp" }
```
- `filetypes` :
```lua
{ "dts", "dtsi", "overlay" }
```
- `name` :
```lua
"dts_lsp"
```
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{}
```
---
## earthlyls
https://github.com/glehmann/earthlyls
A fast language server for earthly.
Snippet to enable the language server:
```lua
vim.lsp.enable('earthlyls')
```
Default config:
- `cmd` :
```lua
{ "earthlyls" }
```
- `filetypes` :
```lua
{ "earthfile" }
```
- `root_markers` :
```lua
{ "Earthfile" }
```
---
## ecsact
https://github.com/ecsact-dev/ecsact_lsp_server
Language server for Ecsact.
The default cmd assumes `ecsact_lsp_server` is in your PATH. Typically from the
Ecsact SDK: https://ecsact.dev/start
Snippet to enable the language server:
```lua
vim.lsp.enable('ecsact')
```
Default config:
- `cmd` :
```lua
{ "ecsact_lsp_server", "--stdio" }
```
- `filetypes` :
```lua
{ "ecsact" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## efm
https://github.com/mattn/efm-langserver
General purpose Language Server that can use specified error message format generated from specified command.
Requires at minimum EFM version [v0.0.38](https://github.com/mattn/efm-langserver/releases/tag/v0.0.38) to support
launching the language server on single files.
Note: In order for neovim's built-in language server client to send the appropriate `languageId` to EFM, **you must
specify `filetypes` in your call to `vim.lsp.config`**. Otherwise the server will be launch on the `BufEnter` instead
of the `FileType` autocommand, and the `filetype` variable used to populate the `languageId` will not yet be set.
```lua
vim.lsp.config('efm', {
filetypes = { 'python','cpp','lua' }
settings = ..., -- You must populate this according to the EFM readme
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('efm')
```
Default config:
- `cmd` :
```lua
{ "efm-langserver" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## elixirls
https://github.com/elixir-lsp/elixir-ls
`elixir-ls` can be installed by following the instructions [here](https://github.com/elixir-lsp/elixir-ls#building-and-running).
1. Download the zip from https://github.com/elixir-lsp/elixir-ls/releases/latest/
2. Unzip it and make it executable.
```bash
unzip elixir-ls.zip -d /path/to/elixir-ls
# Unix
chmod +x /path/to/elixir-ls/language_server.sh
```
**By default, elixir-ls doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about
your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and
~ are not expanded) of your unzipped elixir-ls.
```lua
vim.lsp.config('elixirls', {
-- Unix
cmd = { "/path/to/elixir-ls/language_server.sh" };
-- Windows
cmd = { "/path/to/elixir-ls/language_server.bat" };
...
})
```
'root_dir' is chosen like this: if two or more directories containing `mix.exs` were found when searching
directories upward, the second one (higher up) is chosen, with the assumption that it is the root of an umbrella
app. Otherwise the directory containing the single mix.exs that was found is chosen.
Snippet to enable the language server:
```lua
vim.lsp.enable('elixirls')
```
Default config:
- `cmd` :
```lua
{ "elixir-ls" }
```
- `filetypes` :
```lua
{ "elixir", "eelixir", "heex", "surface" }
```
- `root_dir`: [../lsp/elixirls.lua:34](../lsp/elixirls.lua#L34)
---
## elmls
https://github.com/elm-tooling/elm-language-server#installation
If you don't want to use Nvim to install it, then you can use:
```sh
npm install -g elm elm-test elm-format @elm-tooling/elm-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('elmls')
```
Default config:
- `capabilities` :
```lua
{
offsetEncoding = { "utf-8", "utf-16" }
}
```
- `cmd` :
```lua
{ "elm-language-server" }
```
- `filetypes` :
```lua
{ "elm" }
```
- `init_options` :
```lua
{
disableElmLSDiagnostics = false,
elmReviewDiagnostics = "off",
onlyUpdateDiagnosticsOnSave = false,
skipInstallPackageConfirmation = false
}
```
- `root_dir`: [../lsp/elmls.lua:13](../lsp/elmls.lua#L13)
---
## elp
https://whatsapp.github.io/erlang-language-platform
ELP integrates Erlang into modern IDEs via the language server protocol and was
inspired by rust-analyzer.
Snippet to enable the language server:
```lua
vim.lsp.enable('elp')
```
Default config:
- `cmd` :
```lua
{ "elp", "server" }
```
- `filetypes` :
```lua
{ "erlang" }
```
- `root_markers` :
```lua
{ "rebar.config", "erlang.mk", ".git" }
```
---
## ember
https://github.com/ember-tooling/ember-language-server
`ember-language-server` can be installed via `npm`:
```sh
npm install -g @ember-tooling/ember-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('ember')
```
Default config:
- `cmd` :
```lua
{ "ember-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "handlebars", "typescript", "javascript", "typescript.glimmer", "javascript.glimmer" }
```
- `root_markers` :
```lua
{ "ember-cli-build.js", ".git" }
```
---
## emmet_language_server
https://github.com/olrtg/emmet-language-server
Package can be installed via `npm`:
```sh
npm install -g @olrtg/emmet-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('emmet_language_server')
```
Default config:
- `cmd` :
```lua
{ "emmet-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "astro", "css", "eruby", "html", "htmlangular", "htmldjango", "javascriptreact", "less", "sass", "scss", "svelte", "typescriptreact", "vue" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## emmet_ls
https://github.com/aca/emmet-ls
Package can be installed via `npm`:
```sh
npm install -g emmet-ls
```
Snippet to enable the language server:
```lua
vim.lsp.enable('emmet_ls')
```
Default config:
- `cmd` :
```lua
{ "emmet-ls", "--stdio" }
```
- `filetypes` :
```lua
{ "astro", "css", "eruby", "html", "htmlangular", "htmldjango", "javascriptreact", "less", "pug", "sass", "scss", "svelte", "templ", "typescriptreact", "vue" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## emmylua_ls
https://github.com/EmmyLuaLs/emmylua-analyzer-rust
Emmylua Analyzer Rust. Language Server for Lua.
`emmylua_ls` can be installed using `cargo` by following the instructions[here]
(https://github.com/EmmyLuaLs/emmylua-analyzer-rust?tab=readme-ov-file#install).
The default `cmd` assumes that the `emmylua_ls` binary can be found in `$PATH`.
It might require you to provide cargo binaries installation path in it.
Snippet to enable the language server:
```lua
vim.lsp.enable('emmylua_ls')
```
Default config:
- `cmd` :
```lua
{ "emmylua_ls" }
```
- `filetypes` :
```lua
{ "lua" }
```
- `root_markers` :
```lua
{ ".luarc.json", ".emmyrc.json", ".luacheckrc", ".git" }
```
- `workspace_required` : `false`
---
## erg_language_server
https://github.com/erg-lang/erg#flags ELS
ELS (erg-language-server) is a language server for the Erg programming language.
erg-language-server can be installed via `cargo` and used as follows:
```sh
cargo install erg --features els
erg --language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('erg_language_server')
```
Default config:
- `cmd` :
```lua
{ "erg", "--language-server" }
```
- `filetypes` :
```lua
{ "erg" }
```
- `root_markers` :
```lua
{ "package.er", ".git" }
```
---
## esbonio
https://github.com/swyddfa/esbonio
Esbonio is a language server for [Sphinx](https://www.sphinx-doc.org/en/master/) documentation projects.
The language server can be installed via pip
```
pip install esbonio
```
Since Sphinx is highly extensible you will get best results if you install the language server in the same
Python environment as the one used to build your documentation. To ensure that the correct Python environment
is picked up, you can either launch `nvim` with the correct environment activated.
```
source env/bin/activate
nvim
```
Or you can modify the default `cmd` to include the full path to the Python interpreter.
```lua
vim.lsp.config('esbonio', {
cmd = { '/path/to/virtualenv/bin/python', '-m', 'esbonio' }
})
```
Esbonio supports a number of config values passed as `init_options` on startup, for example.
```lua
vim.lsp.config('esbonio', {
init_options = {
server = {
logLevel = "debug"
},
sphinx = {
confDir = "/path/to/docs",
srcDir = "${confDir}/../docs-src"
}
})
```
A full list and explanation of the available options can be found [here](https://docs.esbon.io/en/esbonio-language-server-v0.16.4/lsp/getting-started.html?editor=neovim-lspconfig#configuration)
Snippet to enable the language server:
```lua
vim.lsp.enable('esbonio')
```
Default config:
- `cmd` :
```lua
{ "python3", "-m", "esbonio" }
```
- `filetypes` :
```lua
{ "rst" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## eslint
https://github.com/hrsh7th/vscode-langservers-extracted
`vscode-eslint-language-server` is a linting engine for JavaScript / Typescript.
It can be installed via `npm`:
```sh
npm i -g vscode-langservers-extracted
```
The default `on_attach` config provides the `LspEslintFixAll` command that can be used to format a document on save:
```lua
local base_on_attach = vim.lsp.config.eslint.on_attach
vim.lsp.config("eslint", {
on_attach = function(client, bufnr)
if not base_on_attach then return end
base_on_attach(client, bufnr)
vim.api.nvim_create_autocmd("BufWritePre", {
buffer = bufnr,
command = "LspEslintFixAll",
})
end,
})
```
See [vscode-eslint](https://github.com/microsoft/vscode-eslint/blob/55871979d7af184bf09af491b6ea35ebd56822cf/server/src/eslintServer.ts#L216-L229) for configuration options.
Messages handled in lspconfig: `eslint/openDoc`, `eslint/confirmESLintExecution`, `eslint/probeFailed`, `eslint/noLibrary`
Additional messages you can handle: `eslint/noConfig`
### Monorepo support
`vscode-eslint-language-server` supports monorepos by default. It will automatically find the config file corresponding to the package you are working on. You can use different configs in different packages.
This works without the need of spawning multiple instances of `vscode-eslint-language-server`.
You can use a different version of ESLint in each package, but it is recommended to use the same version of ESLint in all packages. The location of the ESLint binary will be determined automatically.
/!\ When using flat config files, you need to use them across all your packages in your monorepo, as it's a global setting for the server.
### Flat config in ESLint versions prior to 10.0
If you're using a ESLint version that supports both flat config and eslintrc (>= 8.21, < 10.0) and want to change
the [default behavior](https://eslint.org/blog/2023/10/flat-config-rollout-plans/), you'll need to set
`experimental.useFlatConfig` accordingly:
```lua
vim.lsp.config("eslint", {
settings = {
experimental = {
-- If you want to use flat config on >= 8.21, < 9.0
useFlatConfig = true,
-- Or if you want to use eslintrc on 9.*
-- useFlatConfig = false,
}
}
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('eslint')
```
Default config:
- `before_init`: [../lsp/eslint.lua:79](../lsp/eslint.lua#L79)
- `cmd` :
```lua
{ "vscode-eslint-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "javascript", "javascriptreact", "typescript", "typescriptreact", "vue", "svelte", "astro", "htmlangular" }
```
- `handlers` :
```lua
{
["eslint/confirmESLintExecution"] = <function 1>,
["eslint/noLibrary"] = <function 2>,
["eslint/openDoc"] = <function 3>,
["eslint/probeFailed"] = <function 4>
}
```
- `on_attach`: [../lsp/eslint.lua:79](../lsp/eslint.lua#L79)
- `root_dir`: [../lsp/eslint.lua:79](../lsp/eslint.lua#L79)
- `settings` :
```lua
{
codeAction = {
disableRuleComment = {
enable = true,
location = "separateLine"
},
showDocumentation = {
enable = true
}
},
codeActionOnSave = {
enable = false,
mode = "all"
},
experimental = {},
format = true,
nodePath = "",
onIgnoredFiles = "off",
problems = {
shortenToSingleLine = false
},
quiet = false,
rulesCustomizations = {},
run = "onType",
useESLintClass = false,
validate = "on",
workingDirectory = {
mode = "auto"
}
}
```
- `workspace_required` : `true`
---
## expert
https://github.com/elixir-lang/expert
Expert is the official language server implementation for the Elixir programming language.
'root_dir' is chosen like this: if two or more directories containing `mix.exs` were found when
searching directories upward, the second one (higher up) is chosen, with the assumption that it
is the root of an umbrella app. Otherwise the directory containing the single mix.exs that was
found is chosen.
Snippet to enable the language server:
```lua
vim.lsp.enable('expert')
```
Default config:
- `cmd` :
```lua
{ "expert", "--stdio" }
```
- `filetypes` :
```lua
{ "elixir", "eelixir", "heex", "surface" }
```
- `root_dir`: [../lsp/expert.lua:13](../lsp/expert.lua#L13)
---
## facility_language_server
https://github.com/FacilityApi/FacilityLanguageServer
Facility language server protocol (LSP) support.
Snippet to enable the language server:
```lua
vim.lsp.enable('facility_language_server')
```
Default config:
- `cmd` :
```lua
{ "facility-language-server" }
```
- `filetypes` :
```lua
{ "fsd" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## fennel_language_server
https://github.com/rydesun/fennel-language-server
Fennel language server protocol (LSP) support.
Snippet to enable the language server:
```lua
vim.lsp.enable('fennel_language_server')
```
Default config:
- `cmd` :
```lua
{ "fennel-language-server" }
```
- `filetypes` :
```lua
{ "fennel" }
```
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{}
```
---
## fennel_ls
https://sr.ht/~xerool/fennel-ls/
A language server for fennel.
fennel-ls is configured using the closest file to your working directory named `flsproject.fnl`.
All fennel-ls configuration options [can be found here](https://git.sr.ht/~xerool/fennel-ls/tree/HEAD/docs/manual.md#configuration).
Snippet to enable the language server:
```lua
vim.lsp.enable('fennel_ls')
```
Default config:
- `capabilities` :
```lua
{
offsetEncoding = { "utf-8", "utf-16" }
}
```
- `cmd` :
```lua
{ "fennel-ls" }
```
- `filetypes` :
```lua
{ "fennel" }
```
- `root_dir`: [../lsp/fennel_ls.lua:11](../lsp/fennel_ls.lua#L11)
- `settings` :
```lua
{}
```
---
## fish_lsp
https://github.com/ndonfris/fish-lsp
A Language Server Protocol (LSP) tailored for the fish shell.
This project aims to enhance the coding experience for fish,
by introducing a suite of intelligent features like auto-completion,
scope aware symbol analysis, per-token hover generation, and many others.
[homepage](https://www.fish-lsp.dev/)
Snippet to enable the language server:
```lua
vim.lsp.enable('fish_lsp')
```
Default config:
- `cmd` :
```lua
{ "fish-lsp", "start" }
```
- `filetypes` :
```lua
{ "fish" }
```
- `root_markers` :
```lua
{ "config.fish", ".git" }
```
---
## flow
https://flow.org/
https://github.com/facebook/flow
See below for how to setup Flow itself.
https://flow.org/en/docs/install/
See below for lsp command options.
```sh
npx flow lsp --help
```
Snippet to enable the language server:
```lua
vim.lsp.enable('flow')
```
Default config:
- `cmd`: [../lsp/flow.lua:16](../lsp/flow.lua#L16)
- `filetypes` :
```lua
{ "javascript", "javascriptreact" }
```
- `root_markers` :
```lua
{ ".flowconfig" }
```
---
## flux_lsp
https://github.com/influxdata/flux-lsp
`flux-lsp` can be installed via `cargo`:
```sh
cargo install --git https://github.com/influxdata/flux-lsp
```
Snippet to enable the language server:
```lua
vim.lsp.enable('flux_lsp')
```
Default config:
- `cmd` :
```lua
{ "flux-lsp" }
```
- `filetypes` :
```lua
{ "flux" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## foam_ls
https://github.com/FoamScience/foam-language-server
`foam-language-server` can be installed via `npm`
```sh
npm install -g foam-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('foam_ls')
```
Default config:
- `cmd` :
```lua
{ "foam-ls", "--stdio" }
```
- `filetypes` :
```lua
{ "foam", "OpenFOAM" }
```
- `root_dir`: [../lsp/foam_ls.lua:11](../lsp/foam_ls.lua#L11)
---
## fortitude
https://fortitude.readthedocs.io/en/stable/
Fortitude is a Fortran linter built in Rust and inspired by (and build upon) Ruff
```sh
# Install With uv:
uv tool install fortitude-lint@latest
# Install with pip:
pip install fortitude-lint
```
**LSP is available in Fortitude `v0.8.0`.**
Refer to the [documentation](https://fortitude.readthedocs.io/en/stable/editors/) for more details.
Snippet to enable the language server:
```lua
vim.lsp.enable('fortitude')
```
Default config:
- `cmd` :
```lua
{ "fortitude", "server" }
```
- `filetypes` :
```lua
{ "fortran" }
```
- `root_markers` :
```lua
{ "fpm.toml", "fortitude.toml", ".fortitude.toml", ".git" }
```
- `settings` :
```lua
{}
```
---
## fortls
https://fortls.fortran-lang.org/index.html
fortls is a Fortran Language Server, the server can be installed via pip
```sh
pip install fortls
```
Settings to the server can be passed either through the `cmd` option or through
a local configuration file e.g. `.fortls`. For more information
see the `fortls` [documentation](https://fortls.fortran-lang.org/options.html).
Snippet to enable the language server:
```lua
vim.lsp.enable('fortls')
```
Default config:
- `cmd` :
```lua
{ "fortls", "--notify_init", "--hover_signature", "--hover_language=fortran", "--use_signature_help" }
```
- `filetypes` :
```lua
{ "fortran" }
```
- `root_markers` :
```lua
{ ".fortls", ".fortlsrc", ".fortls.json", ".git" }
```
- `settings` :
```lua
{}
```
---
## fsautocomplete
https://github.com/fsharp/FsAutoComplete
Language Server for F# provided by FsAutoComplete (FSAC).
FsAutoComplete requires the [dotnet-sdk](https://dotnet.microsoft.com/download) to be installed.
The preferred way to install FsAutoComplete is with `dotnet tool install --global fsautocomplete`.
Instructions to compile from source are found on the main [repository](https://github.com/fsharp/FsAutoComplete).
You may also need to configure the filetype as Vim defaults to Forth for `*.fs` files:
`autocmd BufNewFile,BufRead *.fs,*.fsx,*.fsi set filetype=fsharp`
This is automatically done by plugins such as [PhilT/vim-fsharp](https://github.com/PhilT/vim-fsharp), [fsharp/vim-fsharp](https://github.com/fsharp/vim-fsharp), and [adelarsq/neofsharp.vim](https://github.com/adelarsq/neofsharp.vim).
Snippet to enable the language server:
```lua
vim.lsp.enable('fsautocomplete')
```
Default config:
- `cmd` :
```lua
{ "fsautocomplete", "--adaptive-lsp-server-enabled" }
```
- `filetypes` :
```lua
{ "fsharp" }
```
- `init_options` :
```lua
{
AutomaticWorkspaceInit = true
}
```
- `root_dir`: [../lsp/fsautocomplete.lua:23](../lsp/fsautocomplete.lua#L23)
- `settings` :
```lua
{
FSharp = {
EnableReferenceCodeLens = true,
ExternalAutocomplete = false,
InterfaceStubGeneration = true,
InterfaceStubGenerationMethodBody = 'failwith "Not Implemented"',
InterfaceStubGenerationObjectIdentifier = "this",
Linter = true,
RecordStubGeneration = true,
RecordStubGenerationBody = 'failwith "Not Implemented"',
ResolveNamespaces = true,
SimplifyNameAnalyzer = true,
UnionCaseStubGeneration = true,
UnionCaseStubGenerationBody = 'failwith "Not Implemented"',
UnusedDeclarationsAnalyzer = true,
UnusedOpensAnalyzer = true,
UseSdkScripts = true,
keywordsAutocomplete = true
}
}
```
---
## fsharp_language_server
F# Language Server
https://github.com/faldor20/fsharp-language-server
An implementation of the language server protocol using the F# Compiler Service.
Build the project from source and override the command path to location of DLL.
If filetype determination is not already performed by an available plugin ([PhilT/vim-fsharp](https://github.com/PhilT/vim-fsharp), [fsharp/vim-fsharp](https://github.com/fsharp/vim-fsharp), and [adelarsq/neofsharp.vim](https://github.com/adelarsq/neofsharp.vim).
), then the following must be added to initialization configuration:
`autocmd BufNewFile,BufRead *.fs,*.fsx,*.fsi set filetype=fsharp`
Snippet to enable the language server:
```lua
vim.lsp.enable('fsharp_language_server')
```
Default config:
- `cmd` :
```lua
{ "dotnet", "FSharpLanguageServer.dll" }
```
- `filetypes` :
```lua
{ "fsharp" }
```
- `init_options` :
```lua
{
AutomaticWorkspaceInit = true
}
```
- `root_dir`: [../lsp/fsharp_language_server.lua:19](../lsp/fsharp_language_server.lua#L19)
- `settings` :
```lua
{}
```
---
## fstar
https://github.com/FStarLang/FStar
LSP support is included in FStar. Make sure `fstar.exe` is in your PATH.
Snippet to enable the language server:
```lua
vim.lsp.enable('fstar')
```
Default config:
- `cmd` :
```lua
{ "fstar.exe", "--lsp" }
```
- `filetypes` :
```lua
{ "fstar" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## futhark_lsp
https://github.com/diku-dk/futhark
Futhark Language Server
This language server comes with the futhark compiler and is run with the command
```
futhark lsp
```
Snippet to enable the language server:
```lua
vim.lsp.enable('futhark_lsp')
```
Default config:
- `cmd` :
```lua
{ "futhark", "lsp" }
```
- `filetypes` :
```lua
{ "futhark", "fut" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## gdscript
https://github.com/godotengine/godot
Language server for GDScript, used by Godot Engine.
Snippet to enable the language server:
```lua
vim.lsp.enable('gdscript')
```
Default config:
- `cmd`: [../lsp/gdscript.lua:11](../lsp/gdscript.lua#L11)
- `filetypes` :
```lua
{ "gd", "gdscript", "gdscript3" }
```
- `root_markers` :
```lua
{ "project.godot", ".git" }
```
---
## gdshader_lsp
https://github.com/godofavacyn/gdshader-lsp
A language server for the Godot Shading language.
Snippet to enable the language server:
```lua
vim.lsp.enable('gdshader_lsp')
```
Default config:
- `cmd` :
```lua
{ "gdshader-lsp", "--stdio" }
```
- `filetypes` :
```lua
{ "gdshader", "gdshaderinc" }
```
- `root_markers` :
```lua
{ "project.godot" }
```
---
## gh_actions_ls
https://github.com/lttb/gh-actions-language-server
Language server for GitHub Actions.
The projects [forgejo](https://forgejo.org/) and [gitea](https://about.gitea.com/)
design their actions to be as compatible to github as possible
with only [a few differences](https://docs.gitea.com/usage/actions/comparison#unsupported-workflows-syntax) between the systems.
The `gh_actions_ls` is therefore enabled for those `yaml` files as well.
The `gh-actions-language-server` can be installed via `npm`:
```sh
npm install -g gh-actions-language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('gh_actions_ls')
```
Default config:
- `capabilities` :
```lua
{
workspace = {
didChangeWorkspaceFolders = {
dynamicRegistration = true
}
}
}
```
- `cmd` :
```lua
{ "gh-actions-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "yaml" }
```
- `handlers` :
```lua
{
["actions/readFile"] = <function 1>
}
```
- `init_options` :
```lua
{}
```
- `root_dir`: [../lsp/gh_actions_ls.lua:18](../lsp/gh_actions_ls.lua#L18)
---
## ghcide
https://github.com/digital-asset/ghcide
A library for building Haskell IDE tooling.
"ghcide" isn't for end users now. Use "haskell-language-server" instead of "ghcide".
Snippet to enable the language server:
```lua
vim.lsp.enable('ghcide')
```
Default config:
- `cmd` :
```lua
{ "ghcide", "--lsp" }
```
- `filetypes` :
```lua
{ "haskell", "lhaskell" }
```
- `root_markers` :
```lua
{ "stack.yaml", "hie-bios", "BUILD.bazel", "cabal.config", "package.yaml" }
```
---
## ghdl_ls
https://github.com/ghdl/ghdl-language-server
A language server for VHDL, using ghdl as its backend.
`ghdl-ls` is part of pyghdl, for installation instructions see
[the upstream README](https://github.com/ghdl/ghdl/tree/master/pyGHDL/lsp).
Snippet to enable the language server:
```lua
vim.lsp.enable('ghdl_ls')
```
Default config:
- `cmd` :
```lua
{ "ghdl-ls" }
```
- `filetypes` :
```lua
{ "vhdl" }
```
- `root_markers` :
```lua
{ "hdl-prj.json", ".git" }
```
---
## ginko_ls
`ginko_ls` is meant to be a feature-complete language server for device-trees.
Language servers can be used in many editors, such as Visual Studio Code, Emacs
or Vim
Install `ginko_ls` from https://github.com/Schottkyc137/ginko and add it to path
`ginko_ls` doesn't require any configuration.
Snippet to enable the language server:
```lua
vim.lsp.enable('ginko_ls')
```
Default config:
- `cmd` :
```lua
{ "ginko_ls" }
```
- `filetypes` :
```lua
{ "dts" }
```
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{}
```
---
## gitlab_ci_ls
https://github.com/alesbrelih/gitlab-ci-ls
Language Server for Gitlab CI
`gitlab-ci-ls` can be installed via cargo:
cargo install gitlab-ci-ls
Snippet to enable the language server:
```lua
vim.lsp.enable('gitlab_ci_ls')
```
Default config:
- `cmd` :
```lua
{ "gitlab-ci-ls" }
```
- `filetypes` :
```lua
{ "yaml.gitlab" }
```
- `init_options` :
```lua
{
cache_path = "/home/runner/.cache/gitlab-ci-ls/",
log_path = "/home/runner/.cache/gitlab-ci-ls//log/gitlab-ci-ls.log"
}
```
- `root_dir`: [../lsp/gitlab_ci_ls.lua:15](../lsp/gitlab_ci_ls.lua#L15)
---
## gitlab_duo
GitLab Duo Language Server Configuration for Neovim
https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp
The GitLab LSP enables any editor or IDE to integrate with GitLab Duo
for AI-powered code suggestions via the Language Server Protocol.
Prerequisites:
- Node.js and npm installed
- GitLab account with Duo Pro license
- Internet connection for OAuth device flow
Setup:
1. Run :LspGitLabDuoSignIn to start OAuth authentication
2. Follow the browser prompts to authorize
3. Enable inline completion in LspAttach event (see example below)
Inline Completion Example:
```lua
vim.api.nvim_create_autocmd('LspAttach', {
callback = function(args)
local bufnr = args.buf
local client = assert(vim.lsp.get_client_by_id(args.data.client_id))
if vim.lsp.inline_completion and
client:supports_method(vim.lsp.protocol.Methods.textDocument_inlineCompletion, bufnr) then
vim.lsp.inline_completion.enable(true, { bufnr = bufnr })
-- Tab to accept suggestion
vim.keymap.set('i', '<Tab>', function()
if vim.lsp.inline_completion.is_visible() then
return vim.lsp.inline_completion.accept()
else
return '<Tab>'
end
end, { expr = true, buffer = bufnr, desc = 'GitLab Duo: Accept suggestion' })
-- Alt/Option+[ for previous suggestion
vim.keymap.set('i', '<M-[>', vim.lsp.inline_completion.select_prev,
{ buffer = bufnr, desc = 'GitLab Duo: Previous suggestion' })
-- Alt/Option+] for next suggestion
vim.keymap.set('i', '<M-]>', vim.lsp.inline_completion.select_next,
{ buffer = bufnr, desc = 'GitLab Duo: Next suggestion' })
end
end
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('gitlab_duo')
```
Default config:
- `cmd` :
```lua
{ "npx", "--registry=https://gitlab.com/api/v4/packages/npm/", "@gitlab-org/gitlab-lsp", "--stdio" }
```
- `filetypes` :
```lua
{ "ruby", "go", "javascript", "typescript", "typescriptreact", "javascriptreact", "rust", "lua", "python", "java", "cpp", "c", "php", "cs", "kotlin", "swift", "scala", "vue", "svelte", "html", "css", "scss", "json", "yaml" }
```
- `init_options` :
```lua
{
editorInfo = {
name = "Neovim",
version = "0.12.0-dev+g238d4fa71a"
},
editorPluginInfo = {
name = "Neovim LSP",
version = "0.12.0-dev+g238d4fa71a"
},
extension = {
name = "Neovim LSP Client",
version = "0.12.0-dev+g238d4fa71a"
},
ide = {
name = "Neovim",
vendor = "Neovim",
version = "0.12.0-dev+g238d4fa71a"
}
}
```
- `on_attach`: [../lsp/gitlab_duo.lua:317](../lsp/gitlab_duo.lua#L317)
- `on_init`: [../lsp/gitlab_duo.lua:317](../lsp/gitlab_duo.lua#L317)
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{
baseUrl = "https://gitlab.com",
codeCompletion = {
enableSecretRedaction = true
},
featureFlags = {
streamCodeGenerations = false
},
logLevel = "info",
telemetry = {
enabled = false
}
}
```
---
## glasgow
https://github.com/nolanderc/glasgow
Provides language features for WGSL (WebGPU Shading Language):
- Completions:
- Local functions/variables/types.
- Fields and swizzles.
- Builtin types and functions (`dot`, `reflect`, `textureSample`, `vec3`, `mat4x2`, etc.)
- Hover Documentation:
- Function signatures.
- Variable types.
- Includes builtin types and functions. Text is taken from the WGSL specification.
- Goto Definition
- Find all References
- Rename
- Formatter
`glasgow` can be installed via `cargo`:
```sh
cargo install glasgow
```
Snippet to enable the language server:
```lua
vim.lsp.enable('glasgow')
```
Default config:
- `cmd` :
```lua
{ "glasgow" }
```
- `filetypes` :
```lua
{ "wgsl" }
```
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{}
```
---
## gleam
https://github.com/gleam-lang/gleam
A language server for Gleam Programming Language.
It comes with the Gleam compiler, for installation see: [Installing Gleam](https://gleam.run/getting-started/installing/)
Snippet to enable the language server:
```lua
vim.lsp.enable('gleam')
```
Default config:
- `cmd` :
```lua
{ "gleam", "lsp" }
```
- `filetypes` :
```lua
{ "gleam" }
```
- `root_markers` :
```lua
{ "gleam.toml", ".git" }
```
---
## glint
https://github.com/typed-ember/glint
https://typed-ember.gitbook.io/glint/
`glint-language-server` is installed when adding `@glint/core` to your project's devDependencies:
```sh
npm install @glint/core --save-dev
yarn add -D @glint/core
This configuration uses the local installation of `glint-language-server`
(found in the `node_modules` directory of your project).
To use a global installation of `glint-language-server`,
set the `init_options.glint.useGlobal` to `true`.
vim.lsp.config('glint', {
init_options = {
glint = {
useGlobal = true,
},
},
})
Snippet to enable the language server:
```lua
vim.lsp.enable('glint')
```
Default config:
- `cmd`: [../lsp/glint.lua:26](../lsp/glint.lua#L26)
- `filetypes` :
```lua
{ "html.handlebars", "handlebars", "typescript", "typescript.glimmer", "javascript", "javascript.glimmer" }
```
- `init_options` :
```lua
{
glint = {
useGlobal = false
}
}
```
- `root_markers` :
```lua
{ ".glintrc.yml", ".glintrc", ".glintrc.json", ".glintrc.js", "glint.config.js", "package.json" }
```
- `workspace_required` : `true`
---
## glsl_analyzer
https://github.com/nolanderc/glsl_analyzer
Language server for GLSL
Snippet to enable the language server:
```lua
vim.lsp.enable('glsl_analyzer')
```
Default config:
- `capabilities` :
```lua
{}
```
- `cmd` :
```lua
{ "glsl_analyzer" }
```
- `filetypes` :
```lua
{ "glsl", "vert", "tesc", "tese", "frag", "geom", "comp" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## glslls
https://github.com/svenstaro/glsl-language-server
Language server implementation for GLSL
`glslls` can be compiled and installed manually, or, if your distribution has access to the AUR,
via the `glsl-language-server` AUR package
Snippet to enable the language server:
```lua
vim.lsp.enable('glslls')
```
Default config:
- `capabilities` :
```lua
{
offsetEncoding = { "utf-8", "utf-16" },
textDocument = {
completion = {
editsNearCursor = true
}
}
}
```
- `cmd` :
```lua
{ "glslls", "--stdin" }
```
- `filetypes` :
```lua
{ "glsl", "vert", "tesc", "tese", "frag", "geom", "comp" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## gn_language_server
https://github.com/google/gn-language-server
A language server for GN, the build configuration language used in Chromium,
Fuchsia, and other projects.
Snippet to enable the language server:
```lua
vim.lsp.enable('gn_language_server')
```
Default config:
- `cmd` :
```lua
{ "gn-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "gn" }
```
- `root_markers` :
```lua
{ ".gn", ".git" }
```
---
## gnls
https://github.com/microsoft/gnls
Microsoft's language server for GN build files.
Assuming there is a `gnls` script somewhere in your `$PATH`, containing
for example:
```shell
GNLS_SRC_DIR=</path/to/gnls>
exec node ${GNLS_SRC_DIR}/build/server.js $@
```
Snippet to enable the language server:
```lua
vim.lsp.enable('gnls')
```
Default config:
- `cmd` :
```lua
{ "gnls", "--stdio" }
```
- `filetypes` :
```lua
{ "gn" }
```
- `root_markers` :
```lua
{ ".gn", ".git" }
```
---
## golangci_lint_ls
Combination of both lint server and client
https://github.com/nametake/golangci-lint-langserver
https://github.com/golangci/golangci-lint
Installation of binaries needed is done via
```
go install github.com/nametake/golangci-lint-langserver@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
```
Snippet to enable the language server:
```lua
vim.lsp.enable('golangci_lint_ls')
```
Default config:
- `before_init`: [../lsp/golangci_lint_ls.lua:17](../lsp/golangci_lint_ls.lua#L17)
- `cmd` :
```lua
{ "golangci-lint-langserver" }
```
- `filetypes` :
```lua
{ "go", "gomod" }
```
- `init_options` :
```lua
{
command = { "golangci-lint", "run", "--output.text.path=", "--output.tab.path=", "--output.html.path=", "--output.checkstyle.path=", "--output.junit-xml.path=", "--output.teamcity.path=", "--output.sarif.path=", "--show-stats=false", "--output.json.path=stdout" }
}
```
- `root_markers` :
```lua
{ ".golangci.yml", ".golangci.yaml", ".golangci.toml", ".golangci.json", "go.work", "go.mod", ".git" }
```
---
## gopls
https://github.com/golang/tools/tree/master/gopls
Google's lsp server for golang.
Snippet to enable the language server:
```lua
vim.lsp.enable('gopls')
```
Default config:
- `cmd` :
```lua
{ "gopls" }
```
- `filetypes` :
```lua
{ "go", "gomod", "gowork", "gotmpl" }
```
- `root_dir`: [../lsp/gopls.lua:89](../lsp/gopls.lua#L89)
---
## gradle_ls
https://github.com/microsoft/vscode-gradle
Microsoft's lsp server for gradle files
If you're setting this up manually, build vscode-gradle using `./gradlew installDist` and point `cmd` to the `gradle-language-server` generated in the build directory
Snippet to enable the language server:
```lua
vim.lsp.enable('gradle_ls')
```
Default config:
- `cmd` :
```lua
{ "gradle-language-server" }
```
- `filetypes` :
```lua
{ "groovy" }
```
- `init_options` :
```lua
{
settings = {
gradleWrapperEnabled = true
}
}
```
- `root_markers` :
```lua
{ "settings.gradle", "build.gradle" }
```
---
## grammarly
https://github.com/znck/grammarly
`grammarly-languageserver` can be installed via `npm`:
```sh
npm i -g grammarly-languageserver
```
WARNING: Since this language server uses Grammarly's API, any document you open with it running is shared with them. Please evaluate their [privacy policy](https://www.grammarly.com/privacy-policy) before using this.
Snippet to enable the language server:
```lua
vim.lsp.enable('grammarly')
```
Default config:
- `cmd` :
```lua
{ "grammarly-languageserver", "--stdio" }
```
- `filetypes` :
```lua
{ "markdown" }
```
- `handlers` :
```lua
{
["$/updateDocumentState"] = <function 1>
}
```
- `init_options` :
```lua
{
clientId = "client_BaDkMgx4X19X9UxxYRCXZo"
}
```
- `root_markers` :
```lua
{ ".git" }
```
---
## graphql
https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli
`graphql-lsp` can be installed via `npm`:
```sh
npm install -g graphql-language-service-cli
```
Note that you must also have [the graphql package](https://github.com/graphql/graphql-js) installed within your project and create a [GraphQL config file](https://the-guild.dev/graphql/config/docs).
Snippet to enable the language server:
```lua
vim.lsp.enable('graphql')
```
Default config:
- `cmd` :
```lua
{ "graphql-lsp", "server", "-m", "stream" }
```
- `filetypes` :
```lua
{ "graphql", "typescriptreact", "javascriptreact" }
```
- `root_dir`: [../lsp/graphql.lua:16](../lsp/graphql.lua#L16)
---
## groovyls
https://github.com/prominic/groovy-language-server.git
Requirements:
- Linux/macOS (for now)
- Java 11+
`groovyls` can be installed by following the instructions [here](https://github.com/prominic/groovy-language-server.git#build).
If you have installed groovy language server, you can set the `cmd` custom path as follow:
```lua
vim.lsp.config('groovyls', {
-- Unix
cmd = { "java", "-jar", "path/to/groovyls/groovy-language-server-all.jar" },
...
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('groovyls')
```
Default config:
- `cmd` :
```lua
{ "java", "-jar", "groovy-language-server-all.jar" }
```
- `filetypes` :
```lua
{ "groovy" }
```
- `root_markers` :
```lua
{ "Jenkinsfile", ".git" }
```
---
## guile_ls
https://codeberg.org/rgherdt/scheme-lsp-server
The recommended way is to install guile-lsp-server is using Guix. Unfortunately it is still not available at the official Guix channels, but you can use the provided channel guix.scm in the repo:
```sh
guix package -f guix.scm
```
Checkout the repo for more info.
Note: This LSP will start on `scheme.guile` filetype. You can set this file type using `:help modeline` or adding https://gitlab.com/HiPhish/guile.vim to your plugins to automatically set it.
Snippet to enable the language server:
```lua
vim.lsp.enable('guile_ls')
```
Default config:
- `cmd` :
```lua
{ "guile-lsp-server" }
```
- `filetypes` :
```lua
{ "scheme.guile" }
```
- `root_markers` :
```lua
{ "guix.scm", ".git" }
```
---
## harper_ls
https://github.com/automattic/harper
The language server for Harper, the slim, clean language checker for developers.
See our [documentation](https://writewithharper.com/docs/integrations/neovim) for more information on settings.
In short, they should look something like this:
```lua
vim.lsp.config('harper_ls', {
settings = {
["harper-ls"] = {
userDictPath = "~/dict.txt"
}
},
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('harper_ls')
```
Default config:
- `cmd` :
```lua
{ "harper-ls", "--stdio" }
```
- `filetypes` :
```lua
{ "asciidoc", "c", "cpp", "cs", "gitcommit", "go", "html", "java", "javascript", "lua", "markdown", "nix", "python", "ruby", "rust", "swift", "toml", "typescript", "typescriptreact", "haskell", "cmake", "typst", "php", "dart", "clojure", "sh" }
```
- `root_markers` :
```lua
{ ".harper-dictionary.txt", ".git" }
```
---
## hdl_checker
https://github.com/suoto/hdl_checker
Language server for hdl-checker.
Install using: `pip install hdl-checker --upgrade`
Snippet to enable the language server:
```lua
vim.lsp.enable('hdl_checker')
```
Default config:
- `cmd` :
```lua
{ "hdl_checker", "--lsp" }
```
- `filetypes` :
```lua
{ "vhdl", "verilog", "systemverilog" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## helm_ls
https://github.com/mrjosh/helm-ls
Helm Language server. (This LSP is in early development)
`helm Language server` can be installed by following the instructions [here](https://github.com/mrjosh/helm-ls).
The default `cmd` assumes that the `helm_ls` binary can be found in `$PATH`.
If need Helm file highlight use [vim-helm](https://github.com/towolf/vim-helm) plugin.
Snippet to enable the language server:
```lua
vim.lsp.enable('helm_ls')
```
Default config:
- `capabilities` :
```lua
{
workspace = {
didChangeWatchedFiles = {
dynamicRegistration = true
}
}
}
```
- `cmd` :
```lua
{ "helm_ls", "serve" }
```
- `filetypes` :
```lua
{ "helm", "yaml.helm-values" }
```
- `root_markers` :
```lua
{ "Chart.yaml" }
```
---
## herb_ls
https://www.npmjs.com/package/@herb-tools/language-server
https://github.com/marcoroth/herb
HTML+ERB (HTML + Embedded Ruby)
Powerful and seamless HTML-aware ERB parsing and tooling.
Herb is designed from the ground up to deeply understand `.html.erb` files,
preserving both HTML and embedded Ruby structure without losing any details.
`herb-language-server` can be installed via `npm`:
```sh
npm install -g @herb-tools/language-server
```
or via `yarn`:
```sh
yarn global add @herb-tools/language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('herb_ls')
```
Default config:
- `cmd` :
```lua
{ "herb-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "html", "eruby" }
```
- `root_markers` :
```lua
{ "Gemfile", ".git" }
```
---
## hhvm
Language server for programs written in Hack
https://hhvm.com/
https://github.com/facebook/hhvm
See below for how to setup HHVM & typechecker:
https://docs.hhvm.com/hhvm/getting-started/getting-started
Snippet to enable the language server:
```lua
vim.lsp.enable('hhvm')
```
Default config:
- `cmd` :
```lua
{ "hh_client", "lsp" }
```
- `filetypes` :
```lua
{ "php", "hack" }
```
- `root_markers` :
```lua
{ ".hhconfig" }
```
---
## hie
https://github.com/haskell/haskell-ide-engine
the following init_options are supported (see https://github.com/haskell/haskell-ide-engine#configuration):
```lua
init_options = {
languageServerHaskell = {
hlintOn = bool;
maxNumberOfProblems = number;
diagnosticsDebounceDuration = number;
liquidOn = bool (default false);
completionSnippetsOn = bool (default true);
formatOnImportOn = bool (default true);
formattingProvider = string (default "brittany", alternate "floskell");
}
}
```
Snippet to enable the language server:
```lua
vim.lsp.enable('hie')
```
Default config:
- `cmd` :
```lua
{ "hie-wrapper", "--lsp" }
```
- `filetypes` :
```lua
{ "haskell" }
```
- `root_markers` :
```lua
{ "stack.yaml", "package.yaml", ".git" }
```
---
## hlasm
`hlasm_language_server` is a language server for the High Level Assembler language used on IBM SystemZ mainframes.
To learn how to configure the HLASM language server, see the [HLASM Language Support documentation](https://github.com/eclipse-che4z/che-che4z-lsp-for-hlasm).
Snippet to enable the language server:
```lua
vim.lsp.enable('hlasm')
```
Default config:
- `cmd` :
```lua
{ "hlasm_language_server" }
```
- `filetypes` :
```lua
{ "hlasm" }
```
- `root_markers` :
```lua
{ ".hlasmplugin" }
```
---
## hls
https://github.com/haskell/haskell-language-server
Haskell Language Server
If you are using HLS 1.9.0.0, enable the language server to launch on Cabal files as well:
```lua
vim.lsp.config('hls', {
filetypes = { 'haskell', 'lhaskell', 'cabal' },
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('hls')
```
Default config:
- `cmd` :
```lua
{ "haskell-language-server-wrapper", "--lsp" }
```
- `filetypes` :
```lua
{ "haskell", "lhaskell" }
```
- `root_dir`: [../lsp/hls.lua:18](../lsp/hls.lua#L18)
- `settings` :
```lua
{
haskell = {
cabalFormattingProvider = "cabal-fmt",
formattingProvider = "ormolu"
}
}
```
---
## home_assistant
https://github.com/keesschollaart81/vscode-home-assistant
`vscode-home-assistant` can be installed via from source or by downloading
and extracting the VSCode "Home Assistant Config Helper" extension
`vscode-home-assistant` is a language server for Home Assistant ported from the VSCode "Home Assistant Config Helper" extension.
Snippet to enable the language server:
```lua
vim.lsp.enable('home_assistant')
```
Default config:
- `cmd` :
```lua
{ "vscode-home-assistant", "--stdio" }
```
- `filetypes` :
```lua
{ "yaml" }
```
- `root_markers` :
```lua
{ "configuration.yaml", "configuration.yml" }
```
---
## hoon_ls
https://github.com/urbit/hoon-language-server
A language server for Hoon.
The language server can be installed via `npm install -g @hoon-language-server`
Start a fake ~zod with `urbit -F zod`.
Start the language server at the Urbit Dojo prompt with: `|start %language-server`
Snippet to enable the language server:
```lua
vim.lsp.enable('hoon_ls')
```
Default config:
- `cmd` :
```lua
{ "hoon-language-server" }
```
- `filetypes` :
```lua
{ "hoon" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## html
https://github.com/hrsh7th/vscode-langservers-extracted
`vscode-html-language-server` can be installed via `npm`:
```sh
npm i -g vscode-langservers-extracted
```
Neovim does not currently include built-in snippets. `vscode-html-language-server` only provides completions when snippet support is enabled.
To enable completion, install a snippet plugin and add the following override to your language client capabilities during setup.
The code-formatting feature of the lsp can be controlled with the `provideFormatter` option.
```lua
--Enable (broadcasting) snippet capability for completion
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
vim.lsp.config('html', {
capabilities = capabilities,
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('html')
```
Default config:
- `cmd` :
```lua
{ "vscode-html-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "html" }
```
- `init_options` :
```lua
{
configurationSection = { "html", "css", "javascript" },
embeddedLanguages = {
css = true,
javascript = true
},
provideFormatter = true
}
```
- `root_markers` :
```lua
{ "package.json", ".git" }
```
- `settings` :
```lua
{}
```
---
## htmx
https://github.com/ThePrimeagen/htmx-lsp
`htmx-lsp` can be installed via `cargo`:
```sh
cargo install htmx-lsp
```
Lsp is still very much work in progress and experimental. Use at your own risk.
Snippet to enable the language server:
```lua
vim.lsp.enable('htmx')
```
Default config:
- `cmd` :
```lua
{ "htmx-lsp" }
```
- `filetypes` :
```lua
{ "aspnetcorerazor", "astro", "astro-markdown", "blade", "clojure", "django-html", "htmldjango", "edge", "eelixir", "elixir", "ejs", "erb", "eruby", "gohtml", "gohtmltmpl", "haml", "handlebars", "hbs", "html", "htmlangular", "html-eex", "heex", "jade", "leaf", "liquid", "markdown", "mdx", "mustache", "njk", "nunjucks", "php", "razor", "slim", "twig", "javascript", "javascriptreact", "reason", "rescript", "typescript", "typescriptreact", "vue", "svelte", "templ" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## hydra_lsp
https://github.com/Retsediv/hydra-lsp
LSP for Hydra Python package config files.
Snippet to enable the language server:
```lua
vim.lsp.enable('hydra_lsp')
```
Default config:
- `cmd` :
```lua
{ "hydra-lsp" }
```
- `filetypes` :
```lua
{ "yaml" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## hylo_ls
https://github.com/hylo-lang/hylo-language-server
A language server for the Hylo programming language.
Snippet to enable the language server:
```lua
vim.lsp.enable('hylo_ls')
```
Default config:
- `cmd` :
```lua
{ "hylo-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "hylo" }
```
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{}
```
---
## hyprls
https://github.com/hyprland-community/hyprls
`hyprls` can be installed via `go`:
```sh
go install github.com/hyprland-community/hyprls/cmd/hyprls@latest
```
Snippet to enable the language server:
```lua
vim.lsp.enable('hyprls')
```
Default config:
- `cmd` :
```lua
{ "hyprls", "--stdio" }
```
- `filetypes` :
```lua
{ "hyprlang" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## idris2_lsp
https://github.com/idris-community/idris2-lsp
The Idris 2 language server.
Plugins for the Idris 2 filetype include
[Idris2-Vim](https://github.com/edwinb/idris2-vim) (fewer features, stable) and
[Nvim-Idris2](https://github.com/ShinKage/nvim-idris2) (cutting-edge,
experimental).
Idris2-Lsp requires a build of Idris 2 that includes the "Idris 2 API" package.
Package managers with known support for this build include the
[AUR](https://aur.archlinux.org/packages/idris2/) and
[Homebrew](https://formulae.brew.sh/formula/idris2#default).
If your package manager does not support the Idris 2 API, you will need to build
Idris 2 from source. Refer to the
[the Idris 2 installation instructions](https://github.com/idris-lang/Idris2/blob/main/INSTALL.md)
for details. Steps 5 and 8 are listed as "optional" in that guide, but they are
necessary in order to make the Idris 2 API available.
You need to install a version of Idris2-Lsp that is compatible with your
version of Idris 2. There should be a branch corresponding to every released
Idris 2 version after v0.4.0. Use the latest commit on that branch. For example,
if you have Idris v0.5.1, you should use the v0.5.1 branch of Idris2-Lsp.
If your Idris 2 version is newer than the newest Idris2-Lsp branch, use the
latest commit on the `master` branch, and set a reminder to check the Idris2-Lsp
repo for the release of a compatible versioned branch.
Snippet to enable the language server:
```lua
vim.lsp.enable('idris2_lsp')
```
Default config:
- `cmd` :
```lua
{ "idris2-lsp" }
```
- `filetypes` :
```lua
{ "idris2" }
```
- `root_dir`: [../lsp/idris2_lsp.lua:35](../lsp/idris2_lsp.lua#L35)
---
## intelephense
https://intelephense.com/
`intelephense` can be installed via `npm`:
```sh
npm install -g intelephense
```
```lua
-- See https://github.com/bmewburn/intelephense-docs/blob/master/installation.md#initialisation-options
init_options = {
storagePath = …, -- Optional absolute path to storage dir. Defaults to os.tmpdir().
globalStoragePath = …, -- Optional absolute path to a global storage dir. Defaults to os.homedir().
licenceKey = …, -- Optional licence key or absolute path to a text file containing the licence key.
clearCache = …, -- Optional flag to clear server state. State can also be cleared by deleting {storagePath}/intelephense
}
-- See https://github.com/bmewburn/intelephense-docs
settings = {
intelephense = {
files = {
maxSize = 1000000;
};
};
}
```
Snippet to enable the language server:
```lua
vim.lsp.enable('intelephense')
```
Default config:
- `cmd` :
```lua
{ "intelephense", "--stdio" }
```
- `filetypes` :
```lua
{ "php" }
```
- `root_markers` :
```lua
{ ".git", "composer.json" }
```
- `settings` :
```lua
{
intelephense = {
telemetry = {
enabled = false
}
}
}
```
---
## janet_lsp
https://github.com/CFiggers/janet-lsp
A Language Server Protocol implementation for Janet.
Snippet to enable the language server:
```lua
vim.lsp.enable('janet_lsp')
```
Default config:
- `cmd` :
```lua
{ "janet-lsp", "--stdio" }
```
- `filetypes` :
```lua
{ "janet" }
```
- `root_markers` :
```lua
{ "project.janet", ".git" }
```
---
## java_language_server
https://github.com/georgewfraser/java-language-server
Java language server
Point `cmd` to `lang_server_linux.sh` or the equivalent script for macOS/Windows provided by java-language-server
Snippet to enable the language server:
```lua
vim.lsp.enable('java_language_server')
```
Default config:
- `cmd` :
```lua
{ "java-language-server" }
```
- `filetypes` :
```lua
{ "java" }
```
- `root_markers` :
```lua
{ "build.gradle", "build.gradle.kts", "pom.xml", ".git" }
```
- `settings` :
```lua
{}
```
---
## jdtls
https://projects.eclipse.org/projects/eclipse.jdt.ls
Language server for Java.
IMPORTANT: If you want all the features jdtls has to offer, [nvim-jdtls](https://github.com/mfussenegger/nvim-jdtls)
is highly recommended. If all you need is diagnostics, completion, imports, gotos and formatting and some code actions
you can keep reading here.
For manual installation you can download precompiled binaries from the
[official downloads site](http://download.eclipse.org/jdtls/snapshots/?d)
and ensure that the `PATH` variable contains the `bin` directory of the extracted archive.
```lua
-- init.lua
vim.lsp.enable('jdtls')
```
You can also pass extra custom jvm arguments with the JDTLS_JVM_ARGS environment variable as a space separated list of arguments,
that will be converted to multiple --jvm-arg=<param> args when passed to the jdtls script. This will allow for example tweaking
the jvm arguments or integration with external tools like lombok:
```sh
export JDTLS_JVM_ARGS="-javaagent:$HOME/.local/share/java/lombok.jar"
```
For automatic installation you can use the following unofficial installers/launchers under your own risk:
- [jdtls-launcher](https://github.com/eruizc-dev/jdtls-launcher) (Includes lombok support by default)
```lua
-- init.lua
vim.lsp.config('jdtls', { cmd = { 'jdtls' } })
```
Snippet to enable the language server:
```lua
vim.lsp.enable('jdtls')
```
Default config:
- `cmd`: [../lsp/jdtls.lua:74](../lsp/jdtls.lua#L74)
- `filetypes` :
```lua
{ "java" }
```
- `init_options` :
```lua
{}
```
- `root_markers` :
```lua
{ { "mvnw", "gradlew", "settings.gradle", "settings.gradle.kts", ".git" }, { "build.xml", "pom.xml", "build.gradle", "build.gradle.kts" } }
```
---
## jedi_language_server
https://github.com/pappasam/jedi-language-server
`jedi-language-server`, a language server for Python, built on top of jedi
Snippet to enable the language server:
```lua
vim.lsp.enable('jedi_language_server')
```
Default config:
- `cmd` :
```lua
{ "jedi-language-server" }
```
- `filetypes` :
```lua
{ "python" }
```
- `root_markers` :
```lua
{ "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", ".git" }
```
---
## jinja_lsp
jinja-lsp enhances minijinja development experience by providing Helix/Nvim users with advanced features such as autocomplete, syntax highlighting, hover, goto definition, code actions and linting.
The file types are not detected automatically, you can register them manually (see below) or override the filetypes:
```lua
vim.filetype.add {
extension = {
jinja = 'jinja',
jinja2 = 'jinja',
j2 = 'jinja',
},
}
```
Snippet to enable the language server:
```lua
vim.lsp.enable('jinja_lsp')
```
Default config:
- `cmd` :
```lua
{ "jinja-lsp" }
```
- `filetypes` :
```lua
{ "jinja" }
```
- `name` :
```lua
"jinja_lsp"
```
- `root_markers` :
```lua
{ ".git" }
```
---
## jqls
https://github.com/wader/jq-lsp
Language server for jq, written using Go.
You can install the server easily using go install:
```sh
# install directly
go install github.com/wader/jq-lsp@master
# copy binary to $PATH
cp $(go env GOPATH)/bin/jq-lsp /usr/local/bin
```
Note: To activate properly nvim needs to know the jq filetype.
You can add it via:
```lua
vim.cmd([[au BufRead,BufNewFile *.jq setfiletype jq]])
```
Snippet to enable the language server:
```lua
vim.lsp.enable('jqls')
```
Default config:
- `cmd` :
```lua
{ "jq-lsp" }
```
- `filetypes` :
```lua
{ "jq" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## jsonls
https://github.com/hrsh7th/vscode-langservers-extracted
vscode-json-language-server, a language server for JSON and JSON schema
`vscode-json-language-server` can be installed via `npm`:
```sh
npm i -g vscode-langservers-extracted
```
`vscode-json-language-server` only provides completions when snippet support is enabled. If you use Neovim older than v0.10 you need to enable completion, install a snippet plugin and add the following override to your language client capabilities during setup.
```lua
--Enable (broadcasting) snippet capability for completion
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
vim.lsp.config('jsonls', {
capabilities = capabilities,
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('jsonls')
```
Default config:
- `cmd` :
```lua
{ "vscode-json-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "json", "jsonc" }
```
- `init_options` :
```lua
{
provideFormatter = true
}
```
- `root_markers` :
```lua
{ ".git" }
```
---
## jsonnet_ls
https://github.com/grafana/jsonnet-language-server
A Language Server Protocol (LSP) server for Jsonnet.
The language server can be installed with `go`:
```sh
go install github.com/grafana/jsonnet-language-server@latest
```
Snippet to enable the language server:
```lua
vim.lsp.enable('jsonnet_ls')
```
Default config:
- `cmd` :
```lua
{ "jsonnet-language-server" }
```
- `filetypes` :
```lua
{ "jsonnet", "libsonnet" }
```
- `root_markers` :
```lua
{ "jsonnetfile.json", ".git" }
```
---
## julials
https://github.com/julia-vscode/julia-vscode
LanguageServer.jl, SymbolServer.jl and StaticLint.jl can be installed with `julia` and `Pkg`:
```sh
julia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.add("LanguageServer"); Pkg.add("SymbolServer"); Pkg.add("StaticLint")'
```
where `~/.julia/environments/nvim-lspconfig` is the location where
the default configuration expects LanguageServer.jl, SymbolServer.jl and StaticLint.jl to be installed.
To update an existing install, use the following command:
```sh
julia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.update()'
```
Note: In order to have LanguageServer.jl pick up installed packages or dependencies in a
Julia project, you must make sure that the project is instantiated:
```sh
julia --project=/path/to/my/project -e 'using Pkg; Pkg.instantiate()'
```
To activate a Julia environment, use the `:LspJuliaActivateEnv` command. A prompt will ask you to select a Julia
environment from the list of environments found in the current working directory and the `environments/` folder of
`$JULIA_DEPOT_PATH` entries. You can also provide a path to a Julia environment directly.
Example: `:LspJuliaActivateEnv /path/to/my/project`.
Note: The julia programming language searches for global environments within the `environments/`
folder of `$JULIA_DEPOT_PATH` entries. By default this simply `~/.julia/environments`
Snippet to enable the language server:
```lua
vim.lsp.enable('julials')
```
Default config:
- `cmd` :
```lua
{ "julia", "--startup-file=no", "--history-file=no", "-e", ' # Load LanguageServer.jl: attempt to load from ~/.julia/environments/nvim-lspconfig\n # with the regular load path as a fallback\n ls_install_path = joinpath(\n get(DEPOT_PATH, 1, joinpath(homedir(), ".julia")),\n "environments", "nvim-lspconfig"\n )\n pushfirst!(LOAD_PATH, ls_install_path)\n using LanguageServer, SymbolServer, StaticLint\n popfirst!(LOAD_PATH)\n depot_path = get(ENV, "JULIA_DEPOT_PATH", "")\n project_path = let\n dirname(something(\n ## 1. Finds an explicitly set project (JULIA_PROJECT)\n Base.load_path_expand((\n p = get(ENV, "JULIA_PROJECT", nothing);\n p === nothing ? nothing : isempty(p) ? nothing : p\n )),\n ## 2. Look for a Project.toml file in the current working directory,\n ## or parent directories, with $HOME as an upper boundary\n Base.current_project(),\n ## 3. First entry in the load path\n get(Base.load_path(), 1, nothing),\n ## 4. Fallback to default global environment,\n ## this is more or less unreachable\n Base.load_path_expand("@v#.#"),\n ))\n end\n @info "Running language server" VERSION pwd() project_path depot_path\n server = LanguageServer.LanguageServerInstance(stdin, stdout, project_path, depot_path)\n server.runlinter = true\n run(server)\n ' }
```
- `filetypes` :
```lua
{ "julia" }
```
- `on_attach`: [../lsp/julials.lua:127](../lsp/julials.lua#L127)
- `root_markers` :
```lua
{ "Project.toml", "JuliaProject.toml" }
```
---
## just
https://github.com/terror/just-lsp
`just-lsp` is an LSP for just built on top of the tree-sitter-just parser.
Snippet to enable the language server:
```lua
vim.lsp.enable('just')
```
Default config:
- `cmd` :
```lua
{ "just-lsp" }
```
- `filetypes` :
```lua
{ "just" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## kakehashi
https://github.com/atusy/kakehashi
Tree-sitter-based language server that provides semantic tokens, selection ranges,
and LSP bridging for embedded languages (e.g., code blocks in Markdown).
kakehashi works with any language that has a Tree-sitter grammar.
Parsers and queries are automatically installed on first use
when `autoInstall` is enabled (the default). This requires the
`tree-sitter` CLI, a C compiler, and Git.
**You must specify `filetypes` in your call to `vim.lsp.config`** to
restrict which files activate the server:
```lua
vim.lsp.config('kakehashi', {
filetypes = { 'markdown', 'lua', 'rust', 'python' },
init_options = {
autoInstall = true,
-- Optional: bridge LSP requests in injection regions
languageServers = {
['lua_ls'] = {
cmd = { 'lua-language-server' },
languages = { 'lua' },
},
},
languages = {
markdown = {
bridge = { lua_ls = { enabled = true } },
},
},
},
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('kakehashi')
```
Default config:
- `cmd` :
```lua
{ "kakehashi" }
```
- `root_markers` :
```lua
{ "kakehashi.toml", ".git" }
```
---
## kcl
https://github.com/kcl-lang/kcl.nvim
Language server for the KCL configuration and policy language.
Snippet to enable the language server:
```lua
vim.lsp.enable('kcl')
```
Default config:
- `cmd` :
```lua
{ "kcl-language-server" }
```
- `filetypes` :
```lua
{ "kcl" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## koka
https://koka-lang.github.io/koka/doc/index.html
Koka is a functional programming language with effect types and handlers.
Snippet to enable the language server:
```lua
vim.lsp.enable('koka')
```
Default config:
- `cmd` :
```lua
{ "koka", "--language-server", "--lsstdio" }
```
- `filetypes` :
```lua
{ "koka" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## kotlin_language_server
A kotlin language server which was developed for internal usage and
released afterwards. Maintaining is not done by the original author,
but by fwcd.
It is built via gradle and developed on github.
Source and additional description:
https://github.com/fwcd/kotlin-language-server
This server requires vim to be aware of the kotlin-filetype.
You could refer for this capability to:
https://github.com/udalov/kotlin-vim (recommended)
Note that there is no LICENSE specified yet.
For faster startup, you can setup caching by specifying a storagePath
in the init_options. The default is your home directory.
Snippet to enable the language server:
```lua
vim.lsp.enable('kotlin_language_server')
```
Default config:
- `cmd` :
```lua
{ "kotlin-language-server" }
```
- `filetypes` :
```lua
{ "kotlin" }
```
- `init_options` :
```lua
{}
```
- `root_markers` :
```lua
{ "settings.gradle", "settings.gradle.kts", "build.xml", "pom.xml", "build.gradle", "build.gradle.kts" }
```
---
## kotlin_lsp
Pre-alpha official Kotlin support for Visual Studio Code and an implementation of Language Server Protocol for the Kotlin language.
The server is based on IntelliJ IDEA and the IntelliJ IDEA Kotlin Plugin implementation.
Snippet to enable the language server:
```lua
vim.lsp.enable('kotlin_lsp')
```
Default config:
- `cmd` :
```lua
{ "kotlin-lsp", "--stdio" }
```
- `filetypes` :
```lua
{ "kotlin" }
```
- `root_markers` :
```lua
{ "settings.gradle", "settings.gradle.kts", "pom.xml", "build.gradle", "build.gradle.kts", "workspace.json" }
```
---
## kulala_ls
https://github.com/mistweaverco/kulala-ls
A minimal language server for HTTP syntax.
Snippet to enable the language server:
```lua
vim.lsp.enable('kulala_ls')
```
Default config:
- `cmd` :
```lua
{ "kulala-ls", "--stdio" }
```
- `filetypes` :
```lua
{ "http" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## laravel_ls
https://github.com/laravel-ls/laravel-ls
`laravel-ls`, language server for laravel
The default `cmd` assumes that the `laravel-ls` binary can be found in `$PATH`.
Snippet to enable the language server:
```lua
vim.lsp.enable('laravel_ls')
```
Default config:
- `cmd` :
```lua
{ "laravel-ls" }
```
- `filetypes` :
```lua
{ "php", "blade" }
```
- `root_markers` :
```lua
{ "artisan" }
```
---
## lean3ls
https://github.com/leanprover/lean-client-js/tree/master/lean-language-server
Lean installation instructions can be found
[here](https://leanprover-community.github.io/get_started.html#regular-install).
Once Lean is installed, you can install the Lean 3 language server by running
```sh
npm install -g lean-language-server
```
Note: that if you're using [lean.nvim](https://github.com/Julian/lean.nvim),
that plugin fully handles the setup of the Lean language server,
and you shouldn't set up `lean3ls` both with it and `lspconfig`.
Snippet to enable the language server:
```lua
vim.lsp.enable('lean3ls')
```
Default config:
- `cmd` :
```lua
{ "lean-language-server", "--stdio", "--", "-M", "4096", "-T", "100000" }
```
- `filetypes` :
```lua
{ "lean3" }
```
- `offset_encoding` :
```lua
"utf-32"
```
- `root_dir`: [../lsp/lean3ls.lua:18](../lsp/lean3ls.lua#L18)
---
## lelwel_ls
https://github.com/0x2a-42/lelwel
Language server for lelwel grammars.
You can install `lelwel-ls` via cargo:
```sh
cargo install --features="lsp" lelwel
```
Snippet to enable the language server:
```lua
vim.lsp.enable('lelwel_ls')
```
Default config:
- `cmd` :
```lua
{ "lelwel-ls" }
```
- `filetypes` :
```lua
{ "llw" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## lemminx
https://github.com/eclipse/lemminx
The easiest way to install the server is to get a binary from https://github.com/redhat-developer/vscode-xml/releases and place it on your PATH.
NOTE to macOS users: Binaries from unidentified developers are blocked by default. If you trust the downloaded binary, run it once, cancel the prompt, then remove the binary from Gatekeeper quarantine with `xattr -d com.apple.quarantine lemminx`. It should now run without being blocked.
Snippet to enable the language server:
```lua
vim.lsp.enable('lemminx')
```
Default config:
- `cmd` :
```lua
{ "lemminx" }
```
- `filetypes` :
```lua
{ "xml", "xsd", "xsl", "xslt", "svg" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## lexical
https://github.com/lexical-lsp/lexical
Lexical is a next-generation language server for the Elixir programming language.
To install from source, follow the [Detailed Installation Instructions](https://github.com/lexical-lsp/lexical/blob/main/pages/installation.md).
Ensure to point `cmd` to the generated `_build/dev/package/lexical/start_lexical.sh` executable.
Snippet to enable the language server:
```lua
vim.lsp.enable('lexical')
```
Default config:
- `cmd` :
```lua
{ "lexical" }
```
- `filetypes` :
```lua
{ "elixir", "eelixir", "heex", "surface" }
```
- `root_markers` :
```lua
{ "mix.exs", ".git" }
```
---
## lsp_ai
https://github.com/SilasMarvin/lsp-ai
LSP-AI is an open source language server that serves as a backend for AI-powered functionality in your favorite code
editors. It offers features like in-editor chatting with LLMs and code completions.
You will need to provide configuration for the inference backends and models you want to use, as well as configure
completion/code actions. See the [wiki docs](https://github.com/SilasMarvin/lsp-ai/wiki/Configuration) and
[examples](https://github.com/SilasMarvin/lsp-ai/blob/main/examples/nvim) for more information.
Snippet to enable the language server:
```lua
vim.lsp.enable('lsp_ai')
```
Default config:
- `cmd` :
```lua
{ "lsp-ai" }
```
- `filetypes` :
```lua
{}
```
- `init_options` :
```lua
{
memory = {
file_store = vim.empty_dict()
},
models = vim.empty_dict()
}
```
---
## ltex
https://github.com/valentjn/ltex-ls
LTeX Language Server: LSP language server for LanguageTool 🔍✔️ with support for LaTeX 🎓, Markdown 📝, and others
To install, download the latest [release](https://github.com/valentjn/ltex-ls/releases) and ensure `ltex-ls` is on your path.
This server accepts configuration via the `settings` key.
```lua
settings = {
ltex = {
language = "en-GB",
},
},
```
To support org files or R sweave, users can define a custom filetype autocommand (or use a plugin which defines these filetypes):
```lua
vim.cmd [[ autocmd BufRead,BufNewFile *.org set filetype=org ]]
```
Snippet to enable the language server:
```lua
vim.lsp.enable('ltex')
```
Default config:
- `cmd` :
```lua
{ "ltex-ls" }
```
- `filetypes` :
```lua
{ "bib", "gitcommit", "markdown", "org", "plaintex", "rst", "rnoweb", "tex", "pandoc", "quarto", "rmd", "context", "html", "xhtml", "mail", "text" }
```
- `get_language_id`: [../lsp/ltex.lua:75](../lsp/ltex.lua#L75)
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{
ltex = {
enabled = { "bibtex", "gitcommit", "markdown", "org", "tex", "restructuredtext", "rsweave", "latex", "quarto", "rmd", "context", "html", "xhtml", "mail", "plaintext" }
}
}
```
---
## ltex_plus
https://github.com/ltex-plus/ltex-ls-plus
LTeX Language Server: LSP language server for LanguageTool 🔍✔️ with support for LaTeX 🎓, Markdown 📝, and others
To install, download the latest [release](https://github.com/ltex-plus/ltex-ls-plus) and ensure `ltex-ls-plus` is on your path.
This server accepts configuration via the `settings` key.
```lua
settings = {
ltex = {
language = "en-GB",
},
},
```
To support org files or R sweave, users can define a custom filetype autocommand (or use a plugin which defines these filetypes):
```lua
vim.cmd [[ autocmd BufRead,BufNewFile *.org set filetype=org ]]
```
Snippet to enable the language server:
```lua
vim.lsp.enable('ltex_plus')
```
Default config:
- `cmd` :
```lua
{ "ltex-ls-plus" }
```
- `filetypes` :
```lua
{ "asciidoc", "bib", "context", "gitcommit", "html", "markdown", "org", "pandoc", "plaintex", "quarto", "mail", "mdx", "rmd", "rnoweb", "rst", "tex", "text", "typst", "xhtml" }
```
- `get_language_id`: [../lsp/ltex_plus.lua:36](../lsp/ltex_plus.lua#L36)
- `root_markers` :
```lua
{ ".git" }
```
- `settings` :
```lua
{
ltex = {
enabled = { "asciidoc", "bib", "context", "gitcommit", "html", "markdown", "org", "pandoc", "plaintex", "quarto", "mail", "mdx", "rmd", "rnoweb", "rst", "tex", "latex", "text", "typst", "xhtml" }
}
}
```
---
## lua_ls
https://github.com/luals/lua-language-server
Lua language server.
`lua-language-server` can be installed by following the instructions [here](https://luals.github.io/#neovim-install).
The default `cmd` assumes that the `lua-language-server` binary can be found in `$PATH`.
If you primarily use `lua-language-server` for Neovim, and want to provide completions,
analysis, and location handling for plugins on runtime path, you can use the following
settings.
```lua
vim.lsp.config('lua_ls', {
on_init = function(client)
if client.workspace_folders then
local path = client.workspace_folders[1].name
if
path ~= vim.fn.stdpath('config')
and (vim.uv.fs_stat(path .. '/.luarc.json') or vim.uv.fs_stat(path .. '/.luarc.jsonc'))
then
return
end
end
client.config.settings.Lua = vim.tbl_deep_extend('force', client.config.settings.Lua, {
runtime = {
-- Tell the language server which version of Lua you're using (most
-- likely LuaJIT in the case of Neovim)
version = 'LuaJIT',
-- Tell the language server how to find Lua modules same way as Neovim
-- (see `:h lua-module-load`)
path = {
'lua/?.lua',
'lua/?/init.lua',
},
},
-- Make the server aware of Neovim runtime files
workspace = {
checkThirdParty = false,
library = {
vim.env.VIMRUNTIME,
-- Depending on the usage, you might want to add additional paths
-- here.
-- '${3rd}/luv/library',
-- '${3rd}/busted/library',
},
-- Or pull in all of 'runtimepath'.
-- NOTE: this is a lot slower and will cause issues when working on
-- your own configuration.
-- See https://github.com/neovim/nvim-lspconfig/issues/3189
-- library = vim.api.nvim_get_runtime_file('', true),
},
})
end,
settings = {
Lua = {},
},
})
```
See `lua-language-server`'s [documentation](https://luals.github.io/wiki/settings/) for an explanation of the above fields:
* [Lua.runtime.path](https://luals.github.io/wiki/settings/#runtimepath)
* [Lua.workspace.library](https://luals.github.io/wiki/settings/#workspacelibrary)
Snippet to enable the language server:
```lua
vim.lsp.enable('lua_ls')
```
Default config:
- `cmd` :
```lua
{ "lua-language-server" }
```
- `filetypes` :
```lua
{ "lua" }
```
- `root_markers` :
```lua
{ { ".emmyrc.json", ".luarc.json", ".luarc.jsonc" }, { ".luacheckrc", ".stylua.toml", "stylua.toml", "selene.toml", "selene.yml" }, { ".git" } }
```
- `settings` :
```lua
{
Lua = {
codeLens = {
enable = true
},
hint = {
enable = true,
semicolon = "Disable"
}
}
}
```
---
## luau_lsp
https://github.com/JohnnyMorganz/luau-lsp
Language server for the [Luau](https://luau-lang.org/) language.
`luau-lsp` can be installed by downloading one of the release assets available at https://github.com/JohnnyMorganz/luau-lsp.
You might also have to set up automatic filetype detection for Luau files, for example like so:
```vim
autocmd BufRead,BufNewFile *.luau setf luau
```
Snippet to enable the language server:
```lua
vim.lsp.enable('luau_lsp')
```
Default config:
- `cmd` :
```lua
{ "luau-lsp", "lsp" }
```
- `filetypes` :
```lua
{ "luau" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## lwc_ls
https://github.com/forcedotcom/lightning-language-server/
Language server for Lightning Web Components.
For manual installation, utilize the official [NPM package](https://www.npmjs.com/package/@salesforce/lwc-language-server).
Then, configure `cmd` to run the Node script at the unpacked location:
```lua
vim.lsp.config('lwc_ls', {
cmd = {
'node',
'/path/to/node_modules/@salesforce/lwc-language-server/bin/lwc-language-server.js',
'--stdio'
}
})
```
Snippet to enable the language server:
```lua
vim.lsp.enable('lwc_ls')
```
Default config:
- `cmd` :
```lua
{ "lwc-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "javascript", "html" }
```
- `init_options` :
```lua
{
embeddedLanguages = {
javascript = true
}
}
```
- `root_markers` :
```lua
{ "sfdx-project.json" }
```
---
## m68k
https://github.com/grahambates/m68k-lsp
Language server for Motorola 68000 family assembly
`m68k-lsp-server` can be installed via `npm`:
```sh
npm install -g m68k-lsp-server
```
Ensure you are using the 68k asm syntax variant in Neovim.
```lua
vim.g.asmsyntax = 'asm68k'
```
Snippet to enable the language server:
```lua
vim.lsp.enable('m68k')
```
Default config:
- `cmd` :
```lua
{ "m68k-lsp-server", "--stdio" }
```
- `filetypes` :
```lua
{ "asm68k" }
```
- `root_markers` :
```lua
{ "Makefile", ".git" }
```
---
## markdown_oxide
https://github.com/Feel-ix-343/markdown-oxide
Editor Agnostic PKM: you bring the text editor and we
bring the PKM.
Inspired by and compatible with Obsidian.
Check the readme to see how to properly setup.
Snippet to enable the language server:
```lua
vim.lsp.enable('markdown_oxide')
```
Default config:
- `cmd` :
```lua
{ "markdown-oxide" }
```
- `filetypes` :
```lua
{ "markdown" }
```
- `on_attach`: [../lsp/markdown_oxide.lua:24](../lsp/markdown_oxide.lua#L24)
- `root_markers` :
```lua
{ ".git", ".obsidian", ".moxide.toml" }
```
---
## marko-js
https://github.com/marko-js/language-server
Using the Language Server Protocol to improve Marko's developer experience.
Can be installed via npm:
```
npm i -g @marko/language-server
```
Snippet to enable the language server:
```lua
vim.lsp.enable('marko-js')
```
Default config:
- `cmd` :
```lua
{ "marko-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "marko" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## marksman
https://github.com/artempyanykh/marksman
Marksman is a Markdown LSP server providing completion, cross-references, diagnostics, and more.
Marksman works on MacOS, Linux, and Windows and is distributed as a self-contained binary for each OS.
Pre-built binaries can be downloaded from https://github.com/artempyanykh/marksman/releases
Snippet to enable the language server:
```lua
vim.lsp.enable('marksman')
```
Default config:
- `cmd` :
```lua
{ "marksman", "server" }
```
- `filetypes` :
```lua
{ "markdown", "markdown.mdx" }
```
- `root_markers` :
```lua
{ ".marksman.toml", ".git" }
```
---
## matlab_ls
https://github.com/mathworks/MATLAB-language-server
MATLAB® language server implements the Microsoft® Language Server Protocol for the MATLAB language.
Make sure to set `MATLAB.installPath` to your MATLAB path, e.g.:
```lua
settings = {
MATLAB = {
...
installPath = '/usr/local/MATLAB/R2023a',
...
},
},
```
Snippet to enable the language server:
```lua
vim.lsp.enable('matlab_ls')
```
Default config:
- `cmd` :
```lua
{ "matlab-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "matlab" }
```
- `root_dir`: [../lsp/matlab_ls.lua:19](../lsp/matlab_ls.lua#L19)
- `settings` :
```lua
{
MATLAB = {
indexWorkspace = true,
installPath = "",
matlabConnectionTiming = "onStart",
telemetry = true
}
}
```
---
## mdx_analyzer
https://github.com/mdx-js/mdx-analyzer
`mdx-analyzer`, a language server for MDX
Snippet to enable the language server:
```lua
vim.lsp.enable('mdx_analyzer')
```
Default config:
- `before_init`: [../lsp/mdx_analyzer.lua:9](../lsp/mdx_analyzer.lua#L9)
- `cmd` :
```lua
{ "mdx-language-server", "--stdio" }
```
- `filetypes` :
```lua
{ "mdx" }
```
- `init_options` :
```lua
{
typescript = {}
}
```
- `root_markers` :
```lua
{ "package.json" }
```
- `settings` :
```lua
{}
```
---
## mesonlsp
https://github.com/JCWasmx86/mesonlsp
An unofficial, unendorsed language server for meson written in C++
Snippet to enable the language server:
```lua
vim.lsp.enable('mesonlsp')
```
Default config:
- `cmd` :
```lua
{ "mesonlsp", "--lsp" }
```
- `filetypes` :
```lua
{ "meson" }
```
- `root_dir`: [../lsp/mesonlsp.lua:32](../lsp/mesonlsp.lua#L32)
---
## metals
https://scalameta.org/metals/
Scala language server with rich IDE features.
See full instructions in the Metals documentation:
https://scalameta.org/metals/docs/editors/vim#using-an-alternative-lsp-client
Note: that if you're using [nvim-metals](https://github.com/scalameta/nvim-metals), that plugin fully handles the setup and installation of Metals, and you shouldn't set up Metals both with it and `lspconfig`.
To install Metals, make sure to have [coursier](https://get-coursier.io/docs/cli-installation) installed, and once you do you can install the latest Metals with `cs install metals`.
Snippet to enable the language server:
```lua
vim.lsp.enable('metals')
```
Default config:
- `capabilities` :
```lua
{
workspace = {
configuration = false
}
}
```
- `cmd` :
```lua
{ "metals" }
```
- `filetypes` :
```lua
{ "scala" }
```
- `init_options` :
```lua
{
compilerOptions = {
snippetAutoIndent = false
},
isHttpEnabled = true,
statusBarProvider = "show-message"
}
```
- `root_markers` :
```lua
{ "build.sbt", "build.sc", { "build.gradle", "build.gradle.kts" }, "pom.xml" }
```
---
## millet
https://github.com/azdavis/millet
Millet, a language server for Standard ML
To use with nvim:
1. Install a Rust toolchain: https://rustup.rs
2. Clone the repo
3. Run `cargo build --release --bin millet-ls`
4. Move `target/release/millet-ls` to somewhere on your $PATH as `millet`
Snippet to enable the language server:
```lua
vim.lsp.enable('millet')
```
Default config:
- `cmd` :
```lua
{ "millet" }
```
- `filetypes` :
```lua
{ "sml" }
```
- `root_markers` :
```lua
{ "millet.toml" }
```
---
## mint
https://www.mint-lang.com
Install Mint using the [instructions](https://www.mint-lang.com/install).
The language server is included since version 0.12.0.
Snippet to enable the language server:
```lua
vim.lsp.enable('mint')
```
Default config:
- `cmd` :
```lua
{ "mint", "ls" }
```
- `filetypes` :
```lua
{ "mint" }
```
- `root_markers` :
```lua
{ "mint.json", ".git" }
```
---
## mlir_lsp_server
https://mlir.llvm.org/docs/Tools/MLIRLSP/#mlir-lsp-language-server--mlir-lsp-server=
The Language Server for the LLVM MLIR language
`mlir-lsp-server` can be installed at the llvm-project repository (https://github.com/llvm/llvm-project)
Snippet to enable the language server:
```lua
vim.lsp.enable('mlir_lsp_server')
```
Default config:
- `cmd` :
```lua
{ "mlir-lsp-server" }
```
- `filetypes` :
```lua
{ "mlir" }
```
- `root_markers` :
```lua
{ ".git" }
```
---
## mlir_pdll_lsp_server
https://mlir.llvm.org/docs/Tools/MLIRLSP/#pdll-lsp-language-server--mlir-pdll-lsp-server
The Language Server for the LLVM PDLL language
`mlir-pdll-lsp-server` can be installed at the llvm-project repository (https://github.com/llvm/llvm-project)
Snippet to enable the language server:
```lua
vim.lsp.enable('mlir_pdll_lsp_server
gitextract_6rrjtefv/
├── .codespellignorewords
├── .editorconfig
├── .emmyrc.json
├── .github/
│ ├── CODEOWNERS
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yml
│ │ └── config.yml
│ ├── PULL_REQUEST_TEMPLATE/
│ │ └── pull_request_template.md
│ ├── ci/
│ │ └── lint.sh
│ ├── dependabot.yml
│ └── workflows/
│ ├── docgen.yml
│ ├── gen-annotations.yml
│ ├── lint.yml
│ ├── release.yml
│ └── test.yml
├── .gitignore
├── .luarc.json
├── .stylua.toml
├── .styluaignore
├── CONTRIBUTING.md
├── LICENSE.md
├── Makefile
├── README.md
├── doc/
│ ├── configs.md
│ ├── configs.txt
│ ├── lspconfig.txt
│ ├── server_configurations.md
│ └── server_configurations.txt
├── flake.nix
├── lsp/
│ ├── ada_ls.lua
│ ├── agda_ls.lua
│ ├── aiken.lua
│ ├── air.lua
│ ├── alloy_ls.lua
│ ├── anakin_language_server.lua
│ ├── angularls.lua
│ ├── ansiblels.lua
│ ├── antlersls.lua
│ ├── apex_ls.lua
│ ├── arduino_language_server.lua
│ ├── asm_lsp.lua
│ ├── ast_grep.lua
│ ├── astro.lua
│ ├── atlas.lua
│ ├── atopile.lua
│ ├── autohotkey_lsp.lua
│ ├── autotools_ls.lua
│ ├── awk_ls.lua
│ ├── azure_pipelines_ls.lua
│ ├── bacon_ls.lua
│ ├── ballerina.lua
│ ├── basedpyright.lua
│ ├── bashls.lua
│ ├── basics_ls.lua
│ ├── bazelrc_lsp.lua
│ ├── beancount.lua
│ ├── bicep.lua
│ ├── biome.lua
│ ├── bitbake_language_server.lua
│ ├── blueprint_ls.lua
│ ├── bqls.lua
│ ├── bright_script.lua
│ ├── brioche.lua
│ ├── bsl_ls.lua
│ ├── buck2.lua
│ ├── buddy_ls.lua
│ ├── buf_ls.lua
│ ├── bzl.lua
│ ├── c3_lsp.lua
│ ├── cairo_ls.lua
│ ├── ccls.lua
│ ├── cds_lsp.lua
│ ├── cir_lsp_server.lua
│ ├── circom-lsp.lua
│ ├── clangd.lua
│ ├── clarinet.lua
│ ├── clojure_lsp.lua
│ ├── cmake.lua
│ ├── cobol_ls.lua
│ ├── codebook.lua
│ ├── coffeesense.lua
│ ├── contextive.lua
│ ├── copilot.lua
│ ├── coq_lsp.lua
│ ├── crystalline.lua
│ ├── csharp_ls.lua
│ ├── cspell_ls.lua
│ ├── css_variables.lua
│ ├── cssls.lua
│ ├── cssmodules_ls.lua
│ ├── cucumber_language_server.lua
│ ├── cue.lua
│ ├── custom_elements_ls.lua
│ ├── cypher_ls.lua
│ ├── daedalus_ls.lua
│ ├── dafny.lua
│ ├── dagger.lua
│ ├── dartls.lua
│ ├── dcmls.lua
│ ├── debputy.lua
│ ├── denols.lua
│ ├── dhall_lsp_server.lua
│ ├── diagnosticls.lua
│ ├── digestif.lua
│ ├── djls.lua
│ ├── djlsp.lua
│ ├── docker_compose_language_service.lua
│ ├── docker_language_server.lua
│ ├── dockerls.lua
│ ├── dolmenls.lua
│ ├── dotls.lua
│ ├── dprint.lua
│ ├── ds_pinyin_lsp.lua
│ ├── dts_lsp.lua
│ ├── earthlyls.lua
│ ├── ecsact.lua
│ ├── efm.lua
│ ├── elixirls.lua
│ ├── elmls.lua
│ ├── elp.lua
│ ├── ember.lua
│ ├── emmet_language_server.lua
│ ├── emmet_ls.lua
│ ├── emmylua_ls.lua
│ ├── erg_language_server.lua
│ ├── esbonio.lua
│ ├── eslint.lua
│ ├── expert.lua
│ ├── facility_language_server.lua
│ ├── fennel_language_server.lua
│ ├── fennel_ls.lua
│ ├── fish_lsp.lua
│ ├── flow.lua
│ ├── flux_lsp.lua
│ ├── foam_ls.lua
│ ├── fortitude.lua
│ ├── fortls.lua
│ ├── fsautocomplete.lua
│ ├── fsharp_language_server.lua
│ ├── fstar.lua
│ ├── futhark_lsp.lua
│ ├── gdscript.lua
│ ├── gdshader_lsp.lua
│ ├── gh_actions_ls.lua
│ ├── ghcide.lua
│ ├── ghdl_ls.lua
│ ├── ginko_ls.lua
│ ├── gitlab_ci_ls.lua
│ ├── gitlab_duo.lua
│ ├── glasgow.lua
│ ├── gleam.lua
│ ├── glint.lua
│ ├── glsl_analyzer.lua
│ ├── glslls.lua
│ ├── gn_language_server.lua
│ ├── gnls.lua
│ ├── golangci_lint_ls.lua
│ ├── gopls.lua
│ ├── gradle_ls.lua
│ ├── grammarly.lua
│ ├── graphql.lua
│ ├── groovyls.lua
│ ├── guile_ls.lua
│ ├── harper_ls.lua
│ ├── hdl_checker.lua
│ ├── helm_ls.lua
│ ├── herb_ls.lua
│ ├── hhvm.lua
│ ├── hie.lua
│ ├── hlasm.lua
│ ├── hls.lua
│ ├── home_assistant.lua
│ ├── hoon_ls.lua
│ ├── html.lua
│ ├── htmx.lua
│ ├── hydra_lsp.lua
│ ├── hylo_ls.lua
│ ├── hyprls.lua
│ ├── idris2_lsp.lua
│ ├── intelephense.lua
│ ├── janet_lsp.lua
│ ├── java_language_server.lua
│ ├── jdtls.lua
│ ├── jedi_language_server.lua
│ ├── jinja_lsp.lua
│ ├── jqls.lua
│ ├── jsonls.lua
│ ├── jsonnet_ls.lua
│ ├── julials.lua
│ ├── just.lua
│ ├── kakehashi.lua
│ ├── kcl.lua
│ ├── koka.lua
│ ├── kotlin_language_server.lua
│ ├── kotlin_lsp.lua
│ ├── kulala_ls.lua
│ ├── laravel_ls.lua
│ ├── lean3ls.lua
│ ├── lelwel_ls.lua
│ ├── lemminx.lua
│ ├── lexical.lua
│ ├── lsp_ai.lua
│ ├── ltex.lua
│ ├── ltex_plus.lua
│ ├── lua_ls.lua
│ ├── luau_lsp.lua
│ ├── lwc_ls.lua
│ ├── m68k.lua
│ ├── markdown_oxide.lua
│ ├── marko-js.lua
│ ├── marksman.lua
│ ├── matlab_ls.lua
│ ├── mdx_analyzer.lua
│ ├── mesonlsp.lua
│ ├── metals.lua
│ ├── millet.lua
│ ├── mint.lua
│ ├── mlir_lsp_server.lua
│ ├── mlir_pdll_lsp_server.lua
│ ├── mm0_ls.lua
│ ├── mojo.lua
│ ├── motoko_lsp.lua
│ ├── move_analyzer.lua
│ ├── mpls.lua
│ ├── msbuild_project_tools_server.lua
│ ├── muon.lua
│ ├── mutt_ls.lua
│ ├── nelua_lsp.lua
│ ├── neocmake.lua
│ ├── nextflow_ls.lua
│ ├── nextls.lua
│ ├── nginx_language_server.lua
│ ├── nickel_ls.lua
│ ├── nil_ls.lua
│ ├── nim_langserver.lua
│ ├── nimls.lua
│ ├── nixd.lua
│ ├── nomad_lsp.lua
│ ├── ntt.lua
│ ├── nushell.lua
│ ├── nxls.lua
│ ├── ocamllsp.lua
│ ├── ols.lua
│ ├── omnisharp.lua
│ ├── opencl_ls.lua
│ ├── openscad_ls.lua
│ ├── openscad_lsp.lua
│ ├── oso.lua
│ ├── oxfmt.lua
│ ├── oxlint.lua
│ ├── pact_ls.lua
│ ├── pasls.lua
│ ├── pbls.lua
│ ├── perlls.lua
│ ├── perlnavigator.lua
│ ├── perlpls.lua
│ ├── pest_ls.lua
│ ├── phan.lua
│ ├── phpactor.lua
│ ├── phptools.lua
│ ├── pico8_ls.lua
│ ├── please.lua
│ ├── pli.lua
│ ├── pony_language_server.lua
│ ├── pony_lsp.lua
│ ├── poryscript_pls.lua
│ ├── postgres_lsp.lua
│ ├── powershell_es.lua
│ ├── prismals.lua
│ ├── prolog_ls.lua
│ ├── prosemd_lsp.lua
│ ├── protols.lua
│ ├── psalm.lua
│ ├── pug.lua
│ ├── puppet.lua
│ ├── purescriptls.lua
│ ├── pylsp.lua
│ ├── pylyzer.lua
│ ├── pyre.lua
│ ├── pyrefly.lua
│ ├── pyright.lua
│ ├── qmlls.lua
│ ├── quick_lint_js.lua
│ ├── r_language_server.lua
│ ├── racket_langserver.lua
│ ├── raku_navigator.lua
│ ├── reason_ls.lua
│ ├── regal.lua
│ ├── regols.lua
│ ├── remark_ls.lua
│ ├── rescriptls.lua
│ ├── rls.lua
│ ├── rnix.lua
│ ├── robotcode.lua
│ ├── robotframework_ls.lua
│ ├── roc_ls.lua
│ ├── rome.lua
│ ├── roslyn_ls.lua
│ ├── rpmspec.lua
│ ├── rubocop.lua
│ ├── ruby_lsp.lua
│ ├── ruff.lua
│ ├── ruff_lsp.lua
│ ├── rumdl.lua
│ ├── rune_languageserver.lua
│ ├── rust_analyzer.lua
│ ├── salt_ls.lua
│ ├── scheme_langserver.lua
│ ├── scry.lua
│ ├── selene3p_ls.lua
│ ├── serve_d.lua
│ ├── shopify_theme_ls.lua
│ ├── sixtyfps.lua
│ ├── slangd.lua
│ ├── slint_lsp.lua
│ ├── smarty_ls.lua
│ ├── smithy_ls.lua
│ ├── snakeskin_ls.lua
│ ├── snyk_ls.lua
│ ├── solang.lua
│ ├── solargraph.lua
│ ├── solc.lua
│ ├── solidity.lua
│ ├── solidity_ls.lua
│ ├── solidity_ls_nomicfoundation.lua
│ ├── somesass_ls.lua
│ ├── sorbet.lua
│ ├── sourcekit.lua
│ ├── spectral.lua
│ ├── spyglassmc_language_server.lua
│ ├── sqlls.lua
│ ├── sqls.lua
│ ├── sqruff.lua
│ ├── stan_ls.lua
│ ├── standardrb.lua
│ ├── starlark_rust.lua
│ ├── starpls.lua
│ ├── statix.lua
│ ├── steep.lua
│ ├── stimulus_ls.lua
│ ├── stylelint_lsp.lua
│ ├── stylua.lua
│ ├── stylua3p_ls.lua
│ ├── superhtml.lua
│ ├── svelte.lua
│ ├── svlangserver.lua
│ ├── svls.lua
│ ├── swift_mesonls.lua
│ ├── syntax_tree.lua
│ ├── systemd_ls.lua
│ ├── systemd_lsp.lua
│ ├── tabby_ml.lua
│ ├── tailwindcss.lua
│ ├── taplo.lua
│ ├── tblgen_lsp_server.lua
│ ├── tclsp.lua
│ ├── teal_ls.lua
│ ├── templ.lua
│ ├── termux_language_server.lua
│ ├── terraform_lsp.lua
│ ├── terraformls.lua
│ ├── texlab.lua
│ ├── textlsp.lua
│ ├── tflint.lua
│ ├── theme_check.lua
│ ├── thriftls.lua
│ ├── tilt_ls.lua
│ ├── tinymist.lua
│ ├── tofu_ls.lua
│ ├── tombi.lua
│ ├── ts_ls.lua
│ ├── ts_query_ls.lua
│ ├── tsgo.lua
│ ├── tsp_server.lua
│ ├── ttags.lua
│ ├── turbo_ls.lua
│ ├── turtle_ls.lua
│ ├── tvm_ffi_navigator.lua
│ ├── twiggy_language_server.lua
│ ├── ty.lua
│ ├── typeprof.lua
│ ├── typos_lsp.lua
│ ├── typst_lsp.lua
│ ├── uiua.lua
│ ├── ungrammar_languageserver.lua
│ ├── unison.lua
│ ├── unocss.lua
│ ├── uvls.lua
│ ├── v_analyzer.lua
│ ├── vacuum.lua
│ ├── vala_ls.lua
│ ├── vale_ls.lua
│ ├── vectorcode_server.lua
│ ├── verible.lua
│ ├── veridian.lua
│ ├── veryl_ls.lua
│ ├── vespa_ls.lua
│ ├── vhdl_ls.lua
│ ├── vimls.lua
│ ├── visualforce_ls.lua
│ ├── vls.lua
│ ├── volar.lua
│ ├── vscoqtop.lua
│ ├── vsrocq.lua
│ ├── vtsls.lua
│ ├── vue_ls.lua
│ ├── wasm_language_tools.lua
│ ├── wc_language_server.lua
│ ├── wgsl_analyzer.lua
│ ├── yamlls.lua
│ ├── yang_lsp.lua
│ ├── yls.lua
│ ├── ziggy.lua
│ ├── ziggy_schema.lua
│ ├── zk.lua
│ ├── zls.lua
│ └── zuban.lua
├── lua/
│ ├── lspconfig/
│ │ ├── async.lua
│ │ ├── configs/
│ │ │ ├── ada_ls.lua
│ │ │ ├── agda_ls.lua
│ │ │ ├── aiken.lua
│ │ │ ├── air.lua
│ │ │ ├── alloy_ls.lua
│ │ │ ├── anakin_language_server.lua
│ │ │ ├── angularls.lua
│ │ │ ├── ansiblels.lua
│ │ │ ├── antlersls.lua
│ │ │ ├── apex_ls.lua
│ │ │ ├── arduino_language_server.lua
│ │ │ ├── asm_lsp.lua
│ │ │ ├── ast_grep.lua
│ │ │ ├── astro.lua
│ │ │ ├── atlas.lua
│ │ │ ├── autohotkey_lsp.lua
│ │ │ ├── autotools_ls.lua
│ │ │ ├── awk_ls.lua
│ │ │ ├── azure_pipelines_ls.lua
│ │ │ ├── bacon_ls.lua
│ │ │ ├── ballerina.lua
│ │ │ ├── basedpyright.lua
│ │ │ ├── bashls.lua
│ │ │ ├── basics_ls.lua
│ │ │ ├── bazelrc_lsp.lua
│ │ │ ├── beancount.lua
│ │ │ ├── bicep.lua
│ │ │ ├── biome.lua
│ │ │ ├── bitbake_language_server.lua
│ │ │ ├── bitbake_ls.lua
│ │ │ ├── blueprint_ls.lua
│ │ │ ├── bqls.lua
│ │ │ ├── bqnlsp.lua
│ │ │ ├── bright_script.lua
│ │ │ ├── bsl_ls.lua
│ │ │ ├── buck2.lua
│ │ │ ├── buddy_ls.lua
│ │ │ ├── buf_ls.lua
│ │ │ ├── bufls.lua
│ │ │ ├── bzl.lua
│ │ │ ├── c3_lsp.lua
│ │ │ ├── cadence.lua
│ │ │ ├── cairo_ls.lua
│ │ │ ├── ccls.lua
│ │ │ ├── cds_lsp.lua
│ │ │ ├── circom-lsp.lua
│ │ │ ├── clangd.lua
│ │ │ ├── clarity_lsp.lua
│ │ │ ├── clojure_lsp.lua
│ │ │ ├── cmake.lua
│ │ │ ├── cobol_ls.lua
│ │ │ ├── codeqlls.lua
│ │ │ ├── coffeesense.lua
│ │ │ ├── contextive.lua
│ │ │ ├── coq_lsp.lua
│ │ │ ├── crystalline.lua
│ │ │ ├── csharp_ls.lua
│ │ │ ├── css_variables.lua
│ │ │ ├── cssls.lua
│ │ │ ├── cssmodules_ls.lua
│ │ │ ├── cucumber_language_server.lua
│ │ │ ├── cue.lua
│ │ │ ├── custom_elements_ls.lua
│ │ │ ├── cypher_ls.lua
│ │ │ ├── daedalus_ls.lua
│ │ │ ├── dafny.lua
│ │ │ ├── dagger.lua
│ │ │ ├── dartls.lua
│ │ │ ├── dcmls.lua
│ │ │ ├── debputy.lua
│ │ │ ├── delphi_ls.lua
│ │ │ ├── denols.lua
│ │ │ ├── dhall_lsp_server.lua
│ │ │ ├── diagnosticls.lua
│ │ │ ├── digestif.lua
│ │ │ ├── djlsp.lua
│ │ │ ├── docker_compose_language_service.lua
│ │ │ ├── dockerls.lua
│ │ │ ├── dolmenls.lua
│ │ │ ├── dotls.lua
│ │ │ ├── dprint.lua
│ │ │ ├── drools_lsp.lua
│ │ │ ├── ds_pinyin_lsp.lua
│ │ │ ├── dts_lsp.lua
│ │ │ ├── earthlyls.lua
│ │ │ ├── ecsact.lua
│ │ │ ├── efm.lua
│ │ │ ├── elixirls.lua
│ │ │ ├── elmls.lua
│ │ │ ├── elp.lua
│ │ │ ├── ember.lua
│ │ │ ├── emmet_language_server.lua
│ │ │ ├── emmet_ls.lua
│ │ │ ├── erg_language_server.lua
│ │ │ ├── erlangls.lua
│ │ │ ├── esbonio.lua
│ │ │ ├── eslint.lua
│ │ │ ├── facility_language_server.lua
│ │ │ ├── fennel_language_server.lua
│ │ │ ├── fennel_ls.lua
│ │ │ ├── fish_lsp.lua
│ │ │ ├── flow.lua
│ │ │ ├── flux_lsp.lua
│ │ │ ├── foam_ls.lua
│ │ │ ├── fortls.lua
│ │ │ ├── fsautocomplete.lua
│ │ │ ├── fsharp_language_server.lua
│ │ │ ├── fstar.lua
│ │ │ ├── futhark_lsp.lua
│ │ │ ├── gdscript.lua
│ │ │ ├── gdshader_lsp.lua
│ │ │ ├── gh_actions_ls.lua
│ │ │ ├── ghcide.lua
│ │ │ ├── ghdl_ls.lua
│ │ │ ├── ginko_ls.lua
│ │ │ ├── gitlab_ci_ls.lua
│ │ │ ├── glasgow.lua
│ │ │ ├── gleam.lua
│ │ │ ├── glint.lua
│ │ │ ├── glsl_analyzer.lua
│ │ │ ├── glslls.lua
│ │ │ ├── golangci_lint_ls.lua
│ │ │ ├── gopls.lua
│ │ │ ├── gradle_ls.lua
│ │ │ ├── grammarly.lua
│ │ │ ├── graphql.lua
│ │ │ ├── groovyls.lua
│ │ │ ├── guile_ls.lua
│ │ │ ├── harper_ls.lua
│ │ │ ├── haxe_language_server.lua
│ │ │ ├── hdl_checker.lua
│ │ │ ├── helm_ls.lua
│ │ │ ├── hhvm.lua
│ │ │ ├── hie.lua
│ │ │ ├── hlasm.lua
│ │ │ ├── hls.lua
│ │ │ ├── hoon_ls.lua
│ │ │ ├── html.lua
│ │ │ ├── htmx.lua
│ │ │ ├── hydra_lsp.lua
│ │ │ ├── hyprls.lua
│ │ │ ├── idris2_lsp.lua
│ │ │ ├── intelephense.lua
│ │ │ ├── janet_lsp.lua
│ │ │ ├── java_language_server.lua
│ │ │ ├── jdtls.lua
│ │ │ ├── jedi_language_server.lua
│ │ │ ├── jinja_lsp.lua
│ │ │ ├── jqls.lua
│ │ │ ├── jsonls.lua
│ │ │ ├── jsonnet_ls.lua
│ │ │ ├── julials.lua
│ │ │ ├── just.lua
│ │ │ ├── kcl.lua
│ │ │ ├── koka.lua
│ │ │ ├── kotlin_language_server.lua
│ │ │ ├── kulala_ls.lua
│ │ │ ├── laravel_ls.lua
│ │ │ ├── lean3ls.lua
│ │ │ ├── leanls.lua
│ │ │ ├── lelwel_ls.lua
│ │ │ ├── lemminx.lua
│ │ │ ├── lexical.lua
│ │ │ ├── lsp_ai.lua
│ │ │ ├── ltex.lua
│ │ │ ├── ltex_plus.lua
│ │ │ ├── lua_ls.lua
│ │ │ ├── luau_lsp.lua
│ │ │ ├── lwc_ls.lua
│ │ │ ├── m68k.lua
│ │ │ ├── markdown_oxide.lua
│ │ │ ├── marko-js.lua
│ │ │ ├── marksman.lua
│ │ │ ├── matlab_ls.lua
│ │ │ ├── mdx_analyzer.lua
│ │ │ ├── mesonlsp.lua
│ │ │ ├── metals.lua
│ │ │ ├── millet.lua
│ │ │ ├── mint.lua
│ │ │ ├── mlir_lsp_server.lua
│ │ │ ├── mlir_pdll_lsp_server.lua
│ │ │ ├── mm0_ls.lua
│ │ │ ├── mojo.lua
│ │ │ ├── motoko_lsp.lua
│ │ │ ├── move_analyzer.lua
│ │ │ ├── msbuild_project_tools_server.lua
│ │ │ ├── muon.lua
│ │ │ ├── mutt_ls.lua
│ │ │ ├── nelua_lsp.lua
│ │ │ ├── neocmake.lua
│ │ │ ├── nextflow_ls.lua
│ │ │ ├── nextls.lua
│ │ │ ├── nginx_language_server.lua
│ │ │ ├── nickel_ls.lua
│ │ │ ├── nil_ls.lua
│ │ │ ├── nim_langserver.lua
│ │ │ ├── nimls.lua
│ │ │ ├── nixd.lua
│ │ │ ├── nomad_lsp.lua
│ │ │ ├── ntt.lua
│ │ │ ├── nushell.lua
│ │ │ ├── nxls.lua
│ │ │ ├── ocamllsp.lua
│ │ │ ├── ols.lua
│ │ │ ├── omnisharp.lua
│ │ │ ├── opencl_ls.lua
│ │ │ ├── openedge_ls.lua
│ │ │ ├── openscad_ls.lua
│ │ │ ├── openscad_lsp.lua
│ │ │ ├── oxlint.lua
│ │ │ ├── pact_ls.lua
│ │ │ ├── pasls.lua
│ │ │ ├── pbls.lua
│ │ │ ├── perlls.lua
│ │ │ ├── perlnavigator.lua
│ │ │ ├── perlpls.lua
│ │ │ ├── pest_ls.lua
│ │ │ ├── phan.lua
│ │ │ ├── phpactor.lua
│ │ │ ├── pico8_ls.lua
│ │ │ ├── pkgbuild_language_server.lua
│ │ │ ├── please.lua
│ │ │ ├── poryscript_pls.lua
│ │ │ ├── postgres_lsp.lua
│ │ │ ├── powershell_es.lua
│ │ │ ├── prismals.lua
│ │ │ ├── prolog_ls.lua
│ │ │ ├── prosemd_lsp.lua
│ │ │ ├── protols.lua
│ │ │ ├── psalm.lua
│ │ │ ├── pug.lua
│ │ │ ├── puppet.lua
│ │ │ ├── purescriptls.lua
│ │ │ ├── pylsp.lua
│ │ │ ├── pylyzer.lua
│ │ │ ├── pyre.lua
│ │ │ ├── pyright.lua
│ │ │ ├── qmlls.lua
│ │ │ ├── quick_lint_js.lua
│ │ │ ├── r_language_server.lua
│ │ │ ├── racket_langserver.lua
│ │ │ ├── raku_navigator.lua
│ │ │ ├── reason_ls.lua
│ │ │ ├── regal.lua
│ │ │ ├── regols.lua
│ │ │ ├── relay_lsp.lua
│ │ │ ├── remark_ls.lua
│ │ │ ├── rescriptls.lua
│ │ │ ├── rls.lua
│ │ │ ├── rnix.lua
│ │ │ ├── robotcode.lua
│ │ │ ├── robotframework_ls.lua
│ │ │ ├── roc_ls.lua
│ │ │ ├── rome.lua
│ │ │ ├── rpmspec.lua
│ │ │ ├── rubocop.lua
│ │ │ ├── ruby_lsp.lua
│ │ │ ├── ruff.lua
│ │ │ ├── ruff_lsp.lua
│ │ │ ├── rune_languageserver.lua
│ │ │ ├── rust_analyzer.lua
│ │ │ ├── salt_ls.lua
│ │ │ ├── scheme_langserver.lua
│ │ │ ├── scry.lua
│ │ │ ├── selene3p_ls.lua
│ │ │ ├── serve_d.lua
│ │ │ ├── shopify_theme_ls.lua
│ │ │ ├── sixtyfps.lua
│ │ │ ├── slangd.lua
│ │ │ ├── slint_lsp.lua
│ │ │ ├── smarty_ls.lua
│ │ │ ├── smithy_ls.lua
│ │ │ ├── snakeskin_ls.lua
│ │ │ ├── snyk_ls.lua
│ │ │ ├── solang.lua
│ │ │ ├── solargraph.lua
│ │ │ ├── solc.lua
│ │ │ ├── solidity.lua
│ │ │ ├── solidity_ls.lua
│ │ │ ├── solidity_ls_nomicfoundation.lua
│ │ │ ├── somesass_ls.lua
│ │ │ ├── sorbet.lua
│ │ │ ├── sourcekit.lua
│ │ │ ├── sourcery.lua
│ │ │ ├── spectral.lua
│ │ │ ├── spyglassmc_language_server.lua
│ │ │ ├── sqlls.lua
│ │ │ ├── sqls.lua
│ │ │ ├── standardrb.lua
│ │ │ ├── starlark_rust.lua
│ │ │ ├── starpls.lua
│ │ │ ├── statix.lua
│ │ │ ├── steep.lua
│ │ │ ├── stimulus_ls.lua
│ │ │ ├── stylelint_lsp.lua
│ │ │ ├── stylua3p_ls.lua
│ │ │ ├── superhtml.lua
│ │ │ ├── svelte.lua
│ │ │ ├── svlangserver.lua
│ │ │ ├── svls.lua
│ │ │ ├── swift_mesonls.lua
│ │ │ ├── syntax_tree.lua
│ │ │ ├── systemd_ls.lua
│ │ │ ├── tabby_ml.lua
│ │ │ ├── tailwindcss.lua
│ │ │ ├── taplo.lua
│ │ │ ├── tblgen_lsp_server.lua
│ │ │ ├── teal_ls.lua
│ │ │ ├── templ.lua
│ │ │ ├── terraform_lsp.lua
│ │ │ ├── terraformls.lua
│ │ │ ├── texlab.lua
│ │ │ ├── textlsp.lua
│ │ │ ├── tflint.lua
│ │ │ ├── theme_check.lua
│ │ │ ├── thriftls.lua
│ │ │ ├── tilt_ls.lua
│ │ │ ├── tinymist.lua
│ │ │ ├── ts_ls.lua
│ │ │ ├── ts_query_ls.lua
│ │ │ ├── tsp_server.lua
│ │ │ ├── ttags.lua
│ │ │ ├── turbo_ls.lua
│ │ │ ├── turtle_ls.lua
│ │ │ ├── tvm_ffi_navigator.lua
│ │ │ ├── twiggy_language_server.lua
│ │ │ ├── typeprof.lua
│ │ │ ├── typos_lsp.lua
│ │ │ ├── typst_lsp.lua
│ │ │ ├── uiua.lua
│ │ │ ├── ungrammar_languageserver.lua
│ │ │ ├── unison.lua
│ │ │ ├── unocss.lua
│ │ │ ├── uvls.lua
│ │ │ ├── v_analyzer.lua
│ │ │ ├── vacuum.lua
│ │ │ ├── vala_ls.lua
│ │ │ ├── vale_ls.lua
│ │ │ ├── vdmj.lua
│ │ │ ├── vectorcode_server.lua
│ │ │ ├── verible.lua
│ │ │ ├── veridian.lua
│ │ │ ├── veryl_ls.lua
│ │ │ ├── vhdl_ls.lua
│ │ │ ├── vimls.lua
│ │ │ ├── visualforce_ls.lua
│ │ │ ├── vls.lua
│ │ │ ├── volar.lua
│ │ │ ├── vscoqtop.lua
│ │ │ ├── vtsls.lua
│ │ │ ├── vuels.lua
│ │ │ ├── wasm_language_tools.lua
│ │ │ ├── wgsl_analyzer.lua
│ │ │ ├── yamlls.lua
│ │ │ ├── yang_lsp.lua
│ │ │ ├── yls.lua
│ │ │ ├── ziggy.lua
│ │ │ ├── ziggy_schema.lua
│ │ │ ├── zk.lua
│ │ │ └── zls.lua
│ │ ├── configs.lua
│ │ ├── health.lua
│ │ ├── manager.lua
│ │ ├── types/
│ │ │ └── lsp/
│ │ │ ├── ada_ls.lua
│ │ │ ├── astro.lua
│ │ │ ├── awk_ls.lua
│ │ │ ├── basedpyright.lua
│ │ │ ├── bashls.lua
│ │ │ ├── clangd.lua
│ │ │ ├── cssls.lua
│ │ │ ├── dartls.lua
│ │ │ ├── denols.lua
│ │ │ ├── elixirls.lua
│ │ │ ├── elmls.lua
│ │ │ ├── eslint.lua
│ │ │ ├── flow.lua
│ │ │ ├── fsautocomplete.lua
│ │ │ ├── grammarly.lua
│ │ │ ├── hhvm.lua
│ │ │ ├── hie.lua
│ │ │ ├── html.lua
│ │ │ ├── intelephense.lua
│ │ │ ├── java_language_server.lua
│ │ │ ├── jdtls.lua
│ │ │ ├── jsonls.lua
│ │ │ ├── julials.lua
│ │ │ ├── kotlin_language_server.lua
│ │ │ ├── ltex.lua
│ │ │ ├── lua_ls.lua
│ │ │ ├── luau_lsp.lua
│ │ │ ├── omnisharp.lua
│ │ │ ├── perlls.lua
│ │ │ ├── perlnavigator.lua
│ │ │ ├── perlpls.lua
│ │ │ ├── powershell_es.lua
│ │ │ ├── psalm.lua
│ │ │ ├── puppet.lua
│ │ │ ├── purescriptls.lua
│ │ │ ├── pylsp.lua
│ │ │ ├── pyright.lua
│ │ │ ├── r_language_server.lua
│ │ │ ├── rescriptls.lua
│ │ │ ├── rls.lua
│ │ │ ├── rome.lua
│ │ │ ├── ruff_lsp.lua
│ │ │ ├── rust_analyzer.lua
│ │ │ ├── solargraph.lua
│ │ │ ├── solidity_ls.lua
│ │ │ ├── sorbet.lua
│ │ │ ├── sourcekit.lua
│ │ │ ├── spectral.lua
│ │ │ ├── stylelint_lsp.lua
│ │ │ ├── svelte.lua
│ │ │ ├── svlangserver.lua
│ │ │ ├── tailwindcss.lua
│ │ │ ├── terraformls.lua
│ │ │ ├── tinymist.lua
│ │ │ ├── ts_ls.lua
│ │ │ ├── typst_lsp.lua
│ │ │ ├── volar.lua
│ │ │ ├── vtsls.lua
│ │ │ ├── vue_ls.lua
│ │ │ ├── yamlls.lua
│ │ │ └── zls.lua
│ │ ├── ui/
│ │ │ └── windows.lua
│ │ └── util.lua
│ └── lspconfig.lua
├── neovim.yml
├── nvim-lspconfig-scm-1.rockspec
├── plugin/
│ └── lspconfig.lua
├── scripts/
│ ├── docgen.lua
│ ├── docs_template.md
│ ├── docs_template.txt
│ ├── gen_annotations.lua
│ └── gen_json_schemas.lua
└── test/
├── lspconfig_spec.lua
└── test_dir/
├── a/
│ └── a_marker.txt
└── root_marker.txt
Condensed preview — 855 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (2,467K chars).
[
{
"path": ".codespellignorewords",
"chars": 24,
"preview": "abl\nals\nedn\nesy\nprotols\n"
},
{
"path": ".editorconfig",
"chars": 223,
"preview": "root = true\n\n[*]\nindent_style = space\nindent_size = 2\ntab_width = 8\nend_of_line = lf\ninsert_final_newline = true\n\n[*.lua"
},
{
"path": ".emmyrc.json",
"chars": 623,
"preview": "{\n \"$schema\": \"https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_an"
},
{
"path": ".github/CODEOWNERS",
"chars": 82,
"preview": "* @glepnir\n\n/.github/ @dundargoc\n\n/flake.lock @teto\n/flake.nix @teto\n"
},
{
"path": ".github/ISSUE_TEMPLATE/bug_report.yml",
"chars": 970,
"preview": "name: Bug report\ndescription: Report a problem in nvim-lspconfig\nlabels: [bug]\nbody:\n - type: markdown\n attributes:\n"
},
{
"path": ".github/ISSUE_TEMPLATE/config.yml",
"chars": 152,
"preview": "blank_issues_enabled: false\ncontact_links:\n - name: Question\n url: https://vi.stackexchange.com/\n about: Usage"
},
{
"path": ".github/PULL_REQUEST_TEMPLATE/pull_request_template.md",
"chars": 66,
"preview": "---\nname: Pull Request\nabout: Submit a pull request\ntitle: ''\n---\n"
},
{
"path": ".github/ci/lint.sh",
"chars": 4289,
"preview": "#!/usr/bin/env bash\n\n# USAGE: To run locally:\n# bash .github/ci/lint.sh origin/master HEAD\n\nset -e\n\nREF_BRANCH=\"$1\"\nPR"
},
{
"path": ".github/dependabot.yml",
"chars": 156,
"preview": "version: 2\nupdates:\n - package-ecosystem: \"github-actions\"\n directory: \"/\"\n schedule:\n interval: \"daily\"\n "
},
{
"path": ".github/workflows/docgen.yml",
"chars": 799,
"preview": "name: docgen\n\non:\n push:\n branches:\n - master\n\njobs:\n docgen:\n runs-on: ubuntu-latest\n permissions:\n "
},
{
"path": ".github/workflows/gen-annotations.yml",
"chars": 1153,
"preview": "name: gen-annotations\n\non:\n push:\n paths:\n - lsp/**\n - scripts/gen_json_schemas.lua\n - scripts/gen_an"
},
{
"path": ".github/workflows/lint.yml",
"chars": 2337,
"preview": "name: lint\non:\n pull_request:\n branches:\n - master\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref"
},
{
"path": ".github/workflows/release.yml",
"chars": 710,
"preview": "name: \"release\"\non:\n push:\n tags:\n - '*'\njobs:\n luarocks-upload:\n runs-on: ubuntu-latest\n steps:\n -"
},
{
"path": ".github/workflows/test.yml",
"chars": 790,
"preview": "name: test\non:\n pull_request:\n branches:\n - master\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref"
},
{
"path": ".gitignore",
"chars": 24,
"preview": "neovim\ndoc/tags\nschemas\n"
},
{
"path": ".luarc.json",
"chars": 373,
"preview": "{\n \"$schema\": \"https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json\",\n \"diagnostics\" : {\n "
},
{
"path": ".stylua.toml",
"chars": 141,
"preview": "column_width = 120\nline_endings = \"Unix\"\nindent_type = \"Spaces\"\nindent_width = 2\nquote_style = \"AutoPreferSingle\"\ncall_p"
},
{
"path": ".styluaignore",
"chars": 24,
"preview": "lua/lspconfig/types/lsp\n"
},
{
"path": "CONTRIBUTING.md",
"chars": 7595,
"preview": "# Contributing to nvim-lspconfig\n\n## Requirements\n\n- [Lint requirements](#lint)\n- Documentation is generated by `scripts"
},
{
"path": "LICENSE.md",
"chars": 10173,
"preview": " Apache License\n Version 2.0, January 2004\n "
},
{
"path": "Makefile",
"chars": 143,
"preview": "test:\n\tvusted ./test\n\nlint:\n\t@printf \"\\nRunning stylua\\n\"\n\tstylua --check .\n\t@printf \"\\nRunning emmylua\\n\"\n\temmylua_chec"
},
{
"path": "README.md",
"chars": 9616,
"preview": "# nvim-lspconfig\n\nnvim-lspconfig is a collection of LSP server configurations for the [Nvim LSP client](https://neovim.i"
},
{
"path": "doc/configs.md",
"chars": 299842,
"preview": "# LSP configs\n\nLSP configurations provided by nvim-lspconfig are listed below. This\ndocumentation is autogenerated from "
},
{
"path": "doc/configs.txt",
"chars": 300016,
"preview": "*lspconfig-all* All configurations provided by |lspconfig|\n\nLSP configurations provided by nvim-lspc"
},
{
"path": "doc/lspconfig.txt",
"chars": 11297,
"preview": "*lspconfig.txt* User-contributed configs for the Nvim |lsp| client\n "
},
{
"path": "doc/server_configurations.md",
"chars": 55,
"preview": "# This file was renamed to [configs.md](./configs.md).\n"
},
{
"path": "doc/server_configurations.txt",
"chars": 40,
"preview": "This file was renamed to \"configs.txt\".\n"
},
{
"path": "flake.nix",
"chars": 578,
"preview": "{\n description = \"Quickstart configurations for the Nvim LSP client\";\n\n inputs.nixpkgs.url = \"github:NixOS/nixpkgs\";\n "
},
{
"path": "lsp/ada_ls.lua",
"chars": 1008,
"preview": "---@brief\n---\n--- https://github.com/AdaCore/ada_language_server\n---\n--- Installation instructions can be found [here](h"
},
{
"path": "lsp/agda_ls.lua",
"chars": 371,
"preview": "---@brief\n---\n--- https://github.com/agda/agda-language-server\n---\n--- Language Server for Agda.\n\nlocal util = require '"
},
{
"path": "lsp/aiken.lua",
"chars": 335,
"preview": "---@brief\n---\n--- https://github.com/aiken-lang/aiken\n---\n--- A language server for Aiken Programming Language.\n--- [Ins"
},
{
"path": "lsp/air.lua",
"chars": 371,
"preview": "---@brief\n---\n--- https://github.com/posit-dev/air\n---\n--- Air is an R formatter and language server, written in Rust.\n-"
},
{
"path": "lsp/alloy_ls.lua",
"chars": 666,
"preview": "---@brief\n---\n--- https://github.com/AlloyTools/org.alloytools.alloy\n---\n--- Alloy is a formal specification language fo"
},
{
"path": "lsp/anakin_language_server.lua",
"chars": 1930,
"preview": "---@brief\n---\n--- https://pypi.org/project/anakin-language-server/\n---\n--- `anakin-language-server` is yet another Jedi "
},
{
"path": "lsp/angularls.lua",
"chars": 3892,
"preview": "---@brief\n---\n--- https://github.com/angular/vscode-ng-language-service\n--- `angular-language-server` can be installed v"
},
{
"path": "lsp/ansiblels.lua",
"chars": 804,
"preview": "---@brief\n---\n--- https://github.com/ansible/vscode-ansible\n---\n--- Language server for the ansible configuration manage"
},
{
"path": "lsp/antlersls.lua",
"chars": 328,
"preview": "---@brief\n---\n--- https://www.npmjs.com/package/antlers-language-server\n---\n--- `antlersls` can be installed via `npm`:\n"
},
{
"path": "lsp/apex_ls.lua",
"chars": 2109,
"preview": "--- @brief\n---\n--- https://github.com/forcedotcom/salesforcedx-vscode\n---\n--- Language server for Apex.\n---\n--- For manu"
},
{
"path": "lsp/arduino_language_server.lua",
"chars": 2921,
"preview": "---@brief\n---\n--- https://github.com/arduino/arduino-language-server\n---\n--- Language server for Arduino\n---\n--- The `ar"
},
{
"path": "lsp/asm_lsp.lua",
"chars": 318,
"preview": "---@brief\n---\n--- https://github.com/bergercookie/asm-lsp\n---\n--- Language Server for NASM/GAS/GO Assembly\n---\n--- `asm-"
},
{
"path": "lsp/ast_grep.lua",
"chars": 1015,
"preview": "---@brief\n---\n--- https://ast-grep.github.io/\n---\n--- ast-grep(sg) is a fast and polyglot tool for code structural searc"
},
{
"path": "lsp/astro.lua",
"chars": 1788,
"preview": "---@brief\n---\n--- https://github.com/withastro/language-tools/tree/main/packages/language-server\n---\n--- `astro-ls` can "
},
{
"path": "lsp/atlas.lua",
"chars": 2422,
"preview": "---@brief\n---\n--- https://github.com/ariga/atlas\n---\n--- Language server for Atlas config and schema files.\n---\n--- You "
},
{
"path": "lsp/atopile.lua",
"chars": 378,
"preview": "---@brief\n---\n--- https://atopile.io/\n---\n--- A language server for atopile Programming Language.\n---\n--- It comes with "
},
{
"path": "lsp/autohotkey_lsp.lua",
"chars": 1430,
"preview": "---@brief\n---\n--- https://github.com/thqby/vscode-autohotkey2-lsp\n---\n--- AutoHotkey v2.0 LSP implementation\n---\n--- NOT"
},
{
"path": "lsp/autotools_ls.lua",
"chars": 671,
"preview": "---@brief\n---\n--- https://github.com/Freed-Wu/autotools-language-server\n---\n--- `autotools-language-server` can be insta"
},
{
"path": "lsp/awk_ls.lua",
"chars": 280,
"preview": "---@brief\n---\n--- https://github.com/Beaglefoot/awk-language-server/\n---\n--- `awk-language-server` can be installed via "
},
{
"path": "lsp/azure_pipelines_ls.lua",
"chars": 1247,
"preview": "---@brief\n---\n--- https://github.com/microsoft/azure-pipelines-language-server\n---\n--- An Azure Pipelines language serve"
},
{
"path": "lsp/bacon_ls.lua",
"chars": 2038,
"preview": "---@brief\n---\n--- https://github.com/crisidev/bacon-ls\n---\n--- A Language Server Protocol wrapper for [bacon](https://dy"
},
{
"path": "lsp/ballerina.lua",
"chars": 374,
"preview": "---@brief\n---\n--- Ballerina language server\n---\n--- The Ballerina language's CLI tool comes with its own language server"
},
{
"path": "lsp/basedpyright.lua",
"chars": 2619,
"preview": "---@brief\n---\n--- https://detachhead.github.io/basedpyright\n---\n--- `basedpyright`, a static type checker and language s"
},
{
"path": "lsp/bashls.lua",
"chars": 915,
"preview": "---@brief\n---\n--- https://github.com/bash-lsp/bash-language-server\n---\n--- `bash-language-server` can be installed via `"
},
{
"path": "lsp/basics_ls.lua",
"chars": 453,
"preview": "---@brief\n---\n--- https://github.com/antonk52/basics-language-server/\n---\n--- Buffer, path, and snippet completion\n---\n-"
},
{
"path": "lsp/bazelrc_lsp.lua",
"chars": 547,
"preview": "---@brief\n---\n--- https://github.com/salesforce-misc/bazelrc-lsp\n---\n--- `bazelrc-lsp` is a LSP for `.bazelrc` configura"
},
{
"path": "lsp/beancount.lua",
"chars": 372,
"preview": "---@brief\n---\n--- https://github.com/polarmutex/beancount-language-server#installation\n---\n--- See https://github.com/po"
},
{
"path": "lsp/bicep.lua",
"chars": 1641,
"preview": "---@brief\n---\n--- https://github.com/azure/bicep\n--- Bicep language server\n---\n--- Bicep language server can be installe"
},
{
"path": "lsp/biome.lua",
"chars": 2594,
"preview": "---@brief\n--- https://biomejs.dev\n---\n--- Toolchain of the web. [Successor of Rome](https://biomejs.dev/blog/annoucing-b"
},
{
"path": "lsp/bitbake_language_server.lua",
"chars": 360,
"preview": "---@brief\n---\n--- https://github.com/Freed-Wu/bitbake-language-server\n---\n--- `bitbake-language-server` can be installed"
},
{
"path": "lsp/blueprint_ls.lua",
"chars": 687,
"preview": "---@brief\n---\n--- https://gitlab.gnome.org/jwestman/blueprint-compiler\n---\n--- `blueprint-compiler` can be installed via"
},
{
"path": "lsp/bqls.lua",
"chars": 320,
"preview": "---@brief\n---\n--- https://github.com/kitagry/bqls\n---\n--- The `bqls` BigQuery language server can be installed by runnin"
},
{
"path": "lsp/bright_script.lua",
"chars": 322,
"preview": "---@brief\n---\n--- https://github.com/RokuCommunity/brighterscript\n---\n--- `brightscript` can be installed via `npm`:\n---"
},
{
"path": "lsp/brioche.lua",
"chars": 223,
"preview": "---@brief\n---\n--- https://github.com/brioche-dev/brioche\n---\n--- `Brioche Language Server`.\n\n---@type vim.lsp.Config\nret"
},
{
"path": "lsp/bsl_ls.lua",
"chars": 267,
"preview": "---@brief\n---\n--- https://github.com/1c-syntax/bsl-language-server\n---\n--- Language Server Protocol implementation for 1"
},
{
"path": "lsp/buck2.lua",
"chars": 392,
"preview": "---@brief\n---\n--- https://github.com/facebook/buck2\n---\n--- Build system, successor to Buck\n---\n--- To better detect Buc"
},
{
"path": "lsp/buddy_ls.lua",
"chars": 438,
"preview": "---@brief\n---\n--- https://github.com/buddy-compiler/buddy-mlir#buddy-lsp-server\n--- The Language Server for the buddy-ml"
},
{
"path": "lsp/buf_ls.lua",
"chars": 495,
"preview": "--- @brief\n--- https://github.com/bufbuild/buf\n---\n--- buf lsp included in the cli itself\n---\n--- buf lsp is a Protobuf "
},
{
"path": "lsp/bzl.lua",
"chars": 378,
"preview": "---@brief\n---\n--- https://bzl.io/\n---\n--- https://docs.stack.build/docs/cli/installation\n---\n--- https://docs.stack.buil"
},
{
"path": "lsp/c3_lsp.lua",
"chars": 238,
"preview": "---@brief\n---\n--- https://github.com/pherrymason/c3-lsp\n---\n--- Language Server for c3.\n\n---@type vim.lsp.Config\nreturn "
},
{
"path": "lsp/cairo_ls.lua",
"chars": 694,
"preview": "---@brief\n---\n--- [Cairo Language Server](https://github.com/starkware-libs/cairo/tree/main/crates/cairo-lang-language-s"
},
{
"path": "lsp/ccls.lua",
"chars": 1926,
"preview": "---@brief\n---\n--- https://github.com/MaskRay/ccls/wiki\n---\n--- ccls relies on a [JSON compilation database](https://clan"
},
{
"path": "lsp/cds_lsp.lua",
"chars": 429,
"preview": "---@brief\n---\n--- https://cap.cloud.sap/docs/\n---\n--- `cds-lsp` can be installed via `npm`:\n---\n--- ```sh\n--- npm i -g @"
},
{
"path": "lsp/cir_lsp_server.lua",
"chars": 339,
"preview": "---@brief\n---\n--- https://llvm.github.io/clangir\n---\n--- The Language Server for the LLVM ClangIR language\n---\n--- `cir-"
},
{
"path": "lsp/circom-lsp.lua",
"chars": 269,
"preview": "---@brief\n---\n--- [Circom Language Server](https://github.com/rubydusa/circom-lsp)\n---\n--- `circom-lsp`, the language se"
},
{
"path": "lsp/clangd.lua",
"chars": 3769,
"preview": "---@brief\n---\n--- https://clangd.llvm.org/installation.html\n---\n--- - **NOTE:** Clang >= 11 is recommended! See [#23](ht"
},
{
"path": "lsp/clarinet.lua",
"chars": 301,
"preview": "---@brief\n--- https://github.com/hirosystems/clarinet\n---\n--- Clarinet is the fastest way to build, test, and deploy sma"
},
{
"path": "lsp/clojure_lsp.lua",
"chars": 291,
"preview": "---@brief\n---\n--- https://github.com/clojure-lsp/clojure-lsp\n---\n--- Clojure Language Server\n\n---@type vim.lsp.Config\nre"
},
{
"path": "lsp/cmake.lua",
"chars": 344,
"preview": "---@brief\n---\n--- https://github.com/regen100/cmake-language-server\n---\n--- CMake LSP Implementation\n\n---@type vim.lsp.C"
},
{
"path": "lsp/cobol_ls.lua",
"chars": 171,
"preview": "---@brief\n---\n--- Cobol language support\n\n---@type vim.lsp.Config\nreturn {\n cmd = { 'cobol-language-support' },\n filet"
},
{
"path": "lsp/codebook.lua",
"chars": 789,
"preview": "---@brief\n---\n--- https://github.com/blopker/codebook\n---\n--- An unholy spell checker for code.\n---\n--- `codebook-lsp` "
},
{
"path": "lsp/coffeesense.lua",
"chars": 375,
"preview": "---@brief\n---\n--- https://github.com/phil294/coffeesense\n---\n--- CoffeeSense Language Server\n--- `coffeesense-language-s"
},
{
"path": "lsp/contextive.lua",
"chars": 719,
"preview": "---@brief\n---\n--- https://github.com/dev-cycles/contextive\n---\n--- Language Server for Contextive.\n---\n--- Contextive al"
},
{
"path": "lsp/copilot.lua",
"chars": 4198,
"preview": "---@brief\n---\n--- https://www.npmjs.com/package/@github/copilot-language-server\n---\n--- The Copilot Language Server enab"
},
{
"path": "lsp/coq_lsp.lua",
"chars": 184,
"preview": "---@brief\n---\n--- https://github.com/ejgallego/coq-lsp/\n\n---@type vim.lsp.Config\nreturn {\n cmd = { 'coq-lsp' },\n filet"
},
{
"path": "lsp/crystalline.lua",
"chars": 224,
"preview": "---@brief\n---\n--- https://github.com/elbywan/crystalline\n---\n--- Crystal language server.\n\n---@type vim.lsp.Config\nretur"
},
{
"path": "lsp/csharp_ls.lua",
"chars": 1158,
"preview": "---@brief\n---\n--- https://github.com/razzmatazz/csharp-language-server\n---\n--- Language Server for C#.\n---\n--- csharp-ls"
},
{
"path": "lsp/cspell_ls.lua",
"chars": 453,
"preview": "---@brief\n---\n--- [cspell language server](https://github.com/vlabo/cspell-lsp)\n---\n\n---@type vim.lsp.Config\nreturn {\n "
},
{
"path": "lsp/css_variables.lua",
"chars": 1742,
"preview": "---@brief\n---\n--- https://github.com/vunguyentuan/vscode-css-variables/tree/master/packages/css-variables-language-serve"
},
{
"path": "lsp/cssls.lua",
"chars": 1197,
"preview": "---@brief\n---\n--- https://github.com/hrsh7th/vscode-langservers-extracted\n---\n--- `css-languageserver` can be installed "
},
{
"path": "lsp/cssmodules_ls.lua",
"chars": 491,
"preview": "---@brief\n---\n--- https://github.com/antonk52/cssmodules-language-server\n---\n--- Language server for autocompletion and "
},
{
"path": "lsp/cucumber_language_server.lua",
"chars": 447,
"preview": "---@brief\n---\n--- https://cucumber.io\n--- https://github.com/cucumber/common\n--- https://www.npmjs.com/package/@cucumber"
},
{
"path": "lsp/cue.lua",
"chars": 283,
"preview": "---@brief\n---\n--- https://github.com/cue-lang/cue\n---\n--- CUE makes it easy to validate data, write schemas, and ensure "
},
{
"path": "lsp/custom_elements_ls.lua",
"chars": 998,
"preview": "---@brief\n---\n--- https://github.com/Matsuuu/custom-elements-language-server\n---\n--- `custom-elements-languageserver` de"
},
{
"path": "lsp/cypher_ls.lua",
"chars": 550,
"preview": "---@brief\n---\n--- https://github.com/neo4j/cypher-language-support/tree/main/packages/language-server\n---\n--- `cypher-la"
},
{
"path": "lsp/daedalus_ls.lua",
"chars": 520,
"preview": "--- @brief\n---\n--- DaedalusLanguageServer\n\n---@type vim.lsp.Config\nreturn {\n cmd = { 'DaedalusLanguageServer' },\n file"
},
{
"path": "lsp/dafny.lua",
"chars": 500,
"preview": "---@brief\n---\n--- Support for the Dafny language server.\n\n-- The default `cmd` uses \"dafny server\", which works on Dafny"
},
{
"path": "lsp/dagger.lua",
"chars": 215,
"preview": "---@brief\n---\n--- https://github.com/dagger/cuelsp\n---\n--- Dagger's lsp server for cuelang.\n\n---@type vim.lsp.Config\nret"
},
{
"path": "lsp/dartls.lua",
"chars": 609,
"preview": "---@brief\n---\n--- https://github.com/dart-lang/sdk/tree/master/pkg/analysis_server/tool/lsp_spec\n---\n--- Language server"
},
{
"path": "lsp/dcmls.lua",
"chars": 230,
"preview": "---@brief\n---\n--- https://dcm.dev/\n---\n--- Language server for DCM analyzer.\n\n---@type vim.lsp.Config\nreturn {\n cmd = {"
},
{
"path": "lsp/debputy.lua",
"chars": 305,
"preview": "---@brief\n---\n--- https://salsa.debian.org/debian/debputy\n---\n--- Language Server for Debian packages.\n\n---@type vim.lsp"
},
{
"path": "lsp/denols.lua",
"chars": 5509,
"preview": "---@brief\n---\n--- https://github.com/denoland/deno\n---\n--- Deno's built-in language server\n---\n--- To appropriately high"
},
{
"path": "lsp/dhall_lsp_server.lua",
"chars": 454,
"preview": "---@brief\n---\n--- https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server\n---\n--- language server for d"
},
{
"path": "lsp/diagnosticls.lua",
"chars": 407,
"preview": "---@brief\n---\n--- https://github.com/iamcco/diagnostic-languageserver\n---\n--- Diagnostic language server integrate with "
},
{
"path": "lsp/digestif.lua",
"chars": 446,
"preview": "---@brief\n---\n--- https://github.com/astoff/digestif\n---\n--- Digestif is a code analyzer, and a language server, for LaT"
},
{
"path": "lsp/djls.lua",
"chars": 317,
"preview": "---@brief\n---\n--- https://github.com/joshuadavidthomas/django-language-server\n---\n--- `djls`, a language server for the "
},
{
"path": "lsp/djlsp.lua",
"chars": 268,
"preview": "---@brief\n---\n--- https://github.com/fourdigits/django-template-lsp\n---\n--- `djlsp`, a language server for Django templa"
},
{
"path": "lsp/docker_compose_language_service.lua",
"chars": 716,
"preview": "---@brief\n---\n--- https://github.com/microsoft/compose-language-service\n--- This project contains a language service for"
},
{
"path": "lsp/docker_language_server.lua",
"chars": 817,
"preview": "---@brief\n---\n--- https://github.com/docker/docker-language-server\n---\n--- `docker-langserver-server` can be installed v"
},
{
"path": "lsp/dockerls.lua",
"chars": 665,
"preview": "---@brief\n---\n--- https://github.com/rcjsuen/dockerfile-language-server-nodejs\n---\n--- `docker-langserver` can be instal"
},
{
"path": "lsp/dolmenls.lua",
"chars": 315,
"preview": "---@brief\n---\n--- https://github.com/Gbury/dolmen/blob/master/doc/lsp.md\n---\n--- `dolmenls` can be installed via `opam`\n"
},
{
"path": "lsp/dotls.lua",
"chars": 315,
"preview": "---@brief\n---\n--- https://github.com/nikeee/dot-language-server\n---\n--- `dot-language-server` can be installed via `npm`"
},
{
"path": "lsp/dprint.lua",
"chars": 506,
"preview": "---@brief\n---\n--- https://github.com/dprint/dprint\n---\n--- Pluggable and configurable code formatting platform written i"
},
{
"path": "lsp/ds_pinyin_lsp.lua",
"chars": 2318,
"preview": "---@brief\n---\n--- https://github.com/iamcco/ds-pinyin-lsp\n--- Dead simple Pinyin language server for input Chinese witho"
},
{
"path": "lsp/dts_lsp.lua",
"chars": 639,
"preview": "---@brief\n---\n--- `dts-lsp` is an LSP for Devicetree files built on top of tree-sitter-devicetree grammar.\n--- Language "
},
{
"path": "lsp/earthlyls.lua",
"chars": 226,
"preview": "---@brief\n---\n--- https://github.com/glehmann/earthlyls\n---\n--- A fast language server for earthly.\n\n---@type vim.lsp.Co"
},
{
"path": "lsp/ecsact.lua",
"chars": 368,
"preview": "---@brief\n---\n--- https://github.com/ecsact-dev/ecsact_lsp_server\n---\n--- Language server for Ecsact.\n---\n--- The defaul"
},
{
"path": "lsp/efm.lua",
"chars": 987,
"preview": "--- @brief\n---\n--- https://github.com/mattn/efm-langserver\n---\n--- General purpose Language Server that can use specifie"
},
{
"path": "lsp/elixirls.lua",
"chars": 1980,
"preview": "---@brief\n---\n--- https://github.com/elixir-lsp/elixir-ls\n---\n--- `elixir-ls` can be installed by following the instruct"
},
{
"path": "lsp/elmls.lua",
"chars": 1102,
"preview": "---@brief\n---\n--- https://github.com/elm-tooling/elm-language-server#installation\n---\n--- If you don't want to use Nvim "
},
{
"path": "lsp/elp.lua",
"chars": 340,
"preview": "---@brief\n---\n--- https://whatsapp.github.io/erlang-language-platform\n---\n--- ELP integrates Erlang into modern IDEs via"
},
{
"path": "lsp/ember.lua",
"chars": 450,
"preview": "---@brief\n---\n--- https://github.com/ember-tooling/ember-language-server\n---\n--- `ember-language-server` can be installe"
},
{
"path": "lsp/emmet_language_server.lua",
"chars": 502,
"preview": "---@brief\n---\n--- https://github.com/olrtg/emmet-language-server\n---\n--- Package can be installed via `npm`:\n--- ```sh\n-"
},
{
"path": "lsp/emmet_ls.lua",
"chars": 478,
"preview": "---@brief\n---\n--- https://github.com/aca/emmet-ls\n---\n--- Package can be installed via `npm`:\n--- ```sh\n--- npm install "
},
{
"path": "lsp/emmylua_ls.lua",
"chars": 673,
"preview": "---@brief\n---\n--- https://github.com/EmmyLuaLs/emmylua-analyzer-rust\n---\n--- Emmylua Analyzer Rust. Language Server for "
},
{
"path": "lsp/erg_language_server.lua",
"chars": 456,
"preview": "---@brief\n---\n--- https://github.com/erg-lang/erg#flags ELS\n---\n--- ELS (erg-language-server) is a language server for t"
},
{
"path": "lsp/esbonio.lua",
"chars": 1543,
"preview": "---@brief\n---\n--- https://github.com/swyddfa/esbonio\n---\n--- Esbonio is a language server for [Sphinx](https://www.sphin"
},
{
"path": "lsp/eslint.lua",
"chars": 7633,
"preview": "--- @brief\n---\n--- https://github.com/hrsh7th/vscode-langservers-extracted\n---\n--- `vscode-eslint-language-server` is a "
},
{
"path": "lsp/expert.lua",
"chars": 1159,
"preview": "---@brief\n---\n--- https://github.com/elixir-lang/expert\n---\n--- Expert is the official language server implementation fo"
},
{
"path": "lsp/facility_language_server.lua",
"chars": 259,
"preview": "---@brief\n---\n--- https://github.com/FacilityApi/FacilityLanguageServer\n---\n--- Facility language server protocol (LSP) "
},
{
"path": "lsp/fennel_language_server.lua",
"chars": 271,
"preview": "---@brief\n---\n--- https://github.com/rydesun/fennel-language-server\n---\n--- Fennel language server protocol (LSP) suppor"
},
{
"path": "lsp/fennel_ls.lua",
"chars": 873,
"preview": "---@brief\n---\n--- https://sr.ht/~xerool/fennel-ls/\n---\n--- A language server for fennel.\n---\n--- fennel-ls is configured"
},
{
"path": "lsp/fish_lsp.lua",
"chars": 526,
"preview": "---@brief\n---\n--- https://github.com/ndonfris/fish-lsp\n---\n--- A Language Server Protocol (LSP) tailored for the fish sh"
},
{
"path": "lsp/flow.lua",
"chars": 614,
"preview": "---@brief\n---\n--- https://flow.org/\n--- https://github.com/facebook/flow\n---\n--- See below for how to setup Flow itself."
},
{
"path": "lsp/flux_lsp.lua",
"chars": 298,
"preview": "---@brief\n---\n--- https://github.com/influxdata/flux-lsp\n--- `flux-lsp` can be installed via `cargo`:\n--- ```sh\n--- carg"
},
{
"path": "lsp/foam_ls.lua",
"chars": 695,
"preview": "---@brief\n---\n--- https://github.com/FoamScience/foam-language-server\n---\n--- `foam-language-server` can be installed vi"
},
{
"path": "lsp/fortitude.lua",
"chars": 672,
"preview": "---@brief\n---\n--- https://fortitude.readthedocs.io/en/stable/\n---\n--- Fortitude is a Fortran linter built in Rust and in"
},
{
"path": "lsp/fortls.lua",
"chars": 713,
"preview": "---@brief\n---\n--- https://fortls.fortran-lang.org/index.html\n---\n--- fortls is a Fortran Language Server, the server can"
},
{
"path": "lsp/fsautocomplete.lua",
"chars": 2145,
"preview": "---@brief\n---\n--- https://github.com/fsharp/FsAutoComplete\n---\n--- Language Server for F# provided by FsAutoComplete (FS"
},
{
"path": "lsp/fsharp_language_server.lua",
"chars": 1082,
"preview": "---@brief\n---\n--- F# Language Server\n--- https://github.com/faldor20/fsharp-language-server\n---\n--- An implementation of"
},
{
"path": "lsp/fstar.lua",
"chars": 260,
"preview": "---@brief\n---\n--- https://github.com/FStarLang/FStar\n---\n--- LSP support is included in FStar. Make sure `fstar.exe` is "
},
{
"path": "lsp/futhark_lsp.lua",
"chars": 337,
"preview": "---@brief\n---\n--- https://github.com/diku-dk/futhark\n---\n--- Futhark Language Server\n---\n--- This language server comes "
},
{
"path": "lsp/gdscript.lua",
"chars": 370,
"preview": "---@brief\n---\n--- https://github.com/godotengine/godot\n---\n--- Language server for GDScript, used by Godot Engine.\n\nloca"
},
{
"path": "lsp/gdshader_lsp.lua",
"chars": 278,
"preview": "---@brief\n---\n--- https://github.com/godofavacyn/gdshader-lsp\n---\n--- A language server for the Godot Shading language.\n"
},
{
"path": "lsp/gh_actions_ls.lua",
"chars": 1778,
"preview": "---@brief\n--- https://github.com/lttb/gh-actions-language-server\n---\n--- Language server for GitHub Actions.\n---\n--- The"
},
{
"path": "lsp/ghcide.lua",
"chars": 401,
"preview": "---@brief\n---\n--- https://github.com/digital-asset/ghcide\n---\n--- A library for building Haskell IDE tooling.\n--- \"ghcid"
},
{
"path": "lsp/ghdl_ls.lua",
"chars": 407,
"preview": "---@brief\n---\n--- https://github.com/ghdl/ghdl-language-server\n---\n--- A language server for VHDL, using ghdl as its bac"
},
{
"path": "lsp/ginko_ls.lua",
"chars": 465,
"preview": "---@brief\n---\n---`ginko_ls` is meant to be a feature-complete language server for device-trees.\n--- Language servers can"
},
{
"path": "lsp/gitlab_ci_ls.lua",
"chars": 640,
"preview": "---@brief\n---\n--- https://github.com/alesbrelih/gitlab-ci-ls\n---\n--- Language Server for Gitlab CI\n---\n--- `gitlab-ci-ls"
},
{
"path": "lsp/gitlab_duo.lua",
"chars": 12743,
"preview": "---@brief\n---\n--- GitLab Duo Language Server Configuration for Neovim\n---\n--- https://gitlab.com/gitlab-org/editor-exten"
},
{
"path": "lsp/glasgow.lua",
"chars": 792,
"preview": "---@brief\n---\n--- https://github.com/nolanderc/glasgow\n---\n--- Provides language features for WGSL (WebGPU Shading Langu"
},
{
"path": "lsp/gleam.lua",
"chars": 376,
"preview": "---@brief\n---\n--- https://github.com/gleam-lang/gleam\n---\n--- A language server for Gleam Programming Language.\n---\n--- "
},
{
"path": "lsp/glint.lua",
"chars": 1430,
"preview": "---@brief\n---\n--- https://github.com/typed-ember/glint\n--- https://typed-ember.gitbook.io/glint/\n--- `glint-language-ser"
},
{
"path": "lsp/glsl_analyzer.lua",
"chars": 283,
"preview": "---@brief\n---\n--- https://github.com/nolanderc/glsl_analyzer\n---\n--- Language server for GLSL\n\n---@type vim.lsp.Config\nr"
},
{
"path": "lsp/glslls.lua",
"chars": 598,
"preview": "---@brief\n---\n--- https://github.com/svenstaro/glsl-language-server\n---\n--- Language server implementation for GLSL\n---\n"
},
{
"path": "lsp/gn_language_server.lua",
"chars": 322,
"preview": "---@brief\n---\n--- https://github.com/google/gn-language-server\n---\n--- A language server for GN, the build configuration"
},
{
"path": "lsp/gnls.lua",
"chars": 443,
"preview": "---@brief\n---\n--- https://github.com/microsoft/gnls\n---\n--- Microsoft's language server for GN build files.\n---\n--- Assu"
},
{
"path": "lsp/golangci_lint_ls.lua",
"chars": 2162,
"preview": "---@brief\n---\n--- Combination of both lint server and client\n---\n--- https://github.com/nametake/golangci-lint-langserve"
},
{
"path": "lsp/gopls.lua",
"chars": 2537,
"preview": "---@brief\n---\n--- https://github.com/golang/tools/tree/master/gopls\n---\n--- Google's lsp server for golang.\n\n--- @class "
},
{
"path": "lsp/gradle_ls.lua",
"chars": 739,
"preview": "---@brief\n---\n--- https://github.com/microsoft/vscode-gradle\n---\n--- Microsoft's lsp server for gradle files\n---\n--- If "
},
{
"path": "lsp/grammarly.lua",
"chars": 706,
"preview": "---@brief\n---\n--- https://github.com/znck/grammarly\n---\n--- `grammarly-languageserver` can be installed via `npm`:\n---\n-"
},
{
"path": "lsp/graphql.lua",
"chars": 812,
"preview": "---@brief\n---\n--- https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli\n---\n--- `graphql-l"
},
{
"path": "lsp/groovyls.lua",
"chars": 736,
"preview": "---@brief\n---\n--- https://github.com/prominic/groovy-language-server.git\n---\n--- Requirements:\n--- - Linux/macOS (for n"
},
{
"path": "lsp/guile_ls.lua",
"chars": 707,
"preview": "---@brief\n---\n--- https://codeberg.org/rgherdt/scheme-lsp-server\n---\n--- The recommended way is to install guile-lsp-ser"
},
{
"path": "lsp/harper_ls.lua",
"chars": 976,
"preview": "---@brief\n---\n--- https://github.com/automattic/harper\n---\n--- The language server for Harper, the slim, clean language "
},
{
"path": "lsp/hdl_checker.lua",
"chars": 302,
"preview": "---@brief\n---\n--- https://github.com/suoto/hdl_checker\n--- Language server for hdl-checker.\n--- Install using: `pip inst"
},
{
"path": "lsp/helm_ls.lua",
"chars": 693,
"preview": "---@brief\n---\n--- https://github.com/mrjosh/helm-ls\n---\n--- Helm Language server. (This LSP is in early development)\n---"
},
{
"path": "lsp/herb_ls.lua",
"chars": 760,
"preview": "---@brief\n---\n--- https://www.npmjs.com/package/@herb-tools/language-server\n--- https://github.com/marcoroth/herb\n---\n--"
},
{
"path": "lsp/hhvm.lua",
"chars": 371,
"preview": "---@brief\n---\n--- Language server for programs written in Hack\n--- https://hhvm.com/\n--- https://github.com/facebook/hhv"
},
{
"path": "lsp/hie.lua",
"chars": 755,
"preview": "---@brief\n---\n--- https://github.com/haskell/haskell-ide-engine\n---\n--- the following init_options are supported (see ht"
},
{
"path": "lsp/hlasm.lua",
"chars": 437,
"preview": "---@brief\n---\n--- `hlasm_language_server` is a language server for the High Level Assembler language used on IBM SystemZ"
},
{
"path": "lsp/hls.lua",
"chars": 811,
"preview": "---@brief\n---\n--- https://github.com/haskell/haskell-language-server\n---\n--- Haskell Language Server\n---\n--- If you are "
},
{
"path": "lsp/home_assistant.lua",
"chars": 552,
"preview": "---@brief\n---\n--- https://github.com/keesschollaart81/vscode-home-assistant\n---\n--- `vscode-home-assistant` can be insta"
},
{
"path": "lsp/hoon_ls.lua",
"chars": 449,
"preview": "---@brief\n---\n--- https://github.com/urbit/hoon-language-server\n---\n--- A language server for Hoon.\n---\n--- The language"
},
{
"path": "lsp/html.lua",
"chars": 1276,
"preview": "---@brief\n---\n--- https://github.com/hrsh7th/vscode-langservers-extracted\n---\n--- `vscode-html-language-server` can be i"
},
{
"path": "lsp/htmx.lua",
"chars": 1106,
"preview": "---@brief\n---\n--- https://github.com/ThePrimeagen/htmx-lsp\n---\n--- `htmx-lsp` can be installed via `cargo`:\n--- ```sh\n--"
},
{
"path": "lsp/hydra_lsp.lua",
"chars": 223,
"preview": "---@brief\n---\n--- https://github.com/Retsediv/hydra-lsp\n---\n--- LSP for Hydra Python package config files.\n\n---@type vim"
},
{
"path": "lsp/hylo_ls.lua",
"chars": 284,
"preview": "---@brief\n---\n--- https://github.com/hylo-lang/hylo-language-server\n---\n--- A language server for the Hylo programming l"
},
{
"path": "lsp/hyprls.lua",
"chars": 323,
"preview": "---@brief\n---\n--- https://github.com/hyprland-community/hyprls\n---\n--- `hyprls` can be installed via `go`:\n--- ```sh\n---"
},
{
"path": "lsp/idris2_lsp.lua",
"chars": 1801,
"preview": "---@brief\n---\n--- https://github.com/idris-community/idris2-lsp\n---\n--- The Idris 2 language server.\n---\n--- Plugins for"
},
{
"path": "lsp/intelephense.lua",
"chars": 1193,
"preview": "---@brief\n---\n--- https://intelephense.com/\n---\n--- `intelephense` can be installed via `npm`:\n--- ```sh\n--- npm install"
},
{
"path": "lsp/janet_lsp.lua",
"chars": 273,
"preview": "---@brief\n---\n--- https://github.com/CFiggers/janet-lsp\n---\n--- A Language Server Protocol implementation for Janet.\n\n--"
},
{
"path": "lsp/java_language_server.lua",
"chars": 465,
"preview": "---@brief\n---\n--- https://github.com/georgewfraser/java-language-server\n---\n--- Java language server\n---\n--- Point `cmd`"
},
{
"path": "lsp/jdtls.lua",
"chars": 3426,
"preview": "---@brief\n---\n--- https://projects.eclipse.org/projects/eclipse.jdt.ls\n---\n--- Language server for Java.\n---\n--- IMPORTA"
},
{
"path": "lsp/jedi_language_server.lua",
"chars": 380,
"preview": "---@brief\n---\n--- https://github.com/pappasam/jedi-language-server\n---\n--- `jedi-language-server`, a language server for"
},
{
"path": "lsp/jinja_lsp.lua",
"chars": 634,
"preview": "---@brief\n---\n--- jinja-lsp enhances minijinja development experience by providing Helix/Nvim users with advanced featur"
},
{
"path": "lsp/jqls.lua",
"chars": 600,
"preview": "---@brief\n---\n--- https://github.com/wader/jq-lsp\n--- Language server for jq, written using Go.\n--- You can install the "
},
{
"path": "lsp/jsonls.lua",
"chars": 1066,
"preview": "---@brief\n---\n--- https://github.com/hrsh7th/vscode-langservers-extracted\n---\n--- vscode-json-language-server, a languag"
},
{
"path": "lsp/jsonnet_ls.lua",
"chars": 447,
"preview": "--- @brief\n---\n--- https://github.com/grafana/jsonnet-language-server\n---\n--- A Language Server Protocol (LSP) server fo"
},
{
"path": "lsp/julials.lua",
"chars": 5613,
"preview": "---@brief\n---\n--- https://github.com/julia-vscode/julia-vscode\n---\n--- LanguageServer.jl, SymbolServer.jl and StaticLint"
},
{
"path": "lsp/just.lua",
"chars": 251,
"preview": "---@brief\n---\n--- https://github.com/terror/just-lsp\n---\n--- `just-lsp` is an LSP for just built on top of the tree-sitt"
},
{
"path": "lsp/kakehashi.lua",
"chars": 1230,
"preview": "--- @brief\n---\n--- https://github.com/atusy/kakehashi\n---\n--- Tree-sitter-based language server that provides semantic t"
},
{
"path": "lsp/kcl.lua",
"chars": 255,
"preview": "---@brief\n---\n--- https://github.com/kcl-lang/kcl.nvim\n---\n--- Language server for the KCL configuration and policy lang"
},
{
"path": "lsp/koka.lua",
"chars": 289,
"preview": "---@brief\n---\n--- https://koka-lang.github.io/koka/doc/index.html\n--- Koka is a functional programming language with eff"
},
{
"path": "lsp/kotlin_language_server.lua",
"chars": 1505,
"preview": "---@brief\n---\n--- A kotlin language server which was developed for internal usage and\n--- released afterwards. Maintaini"
},
{
"path": "lsp/kotlin_lsp.lua",
"chars": 788,
"preview": "---@brief\n---Pre-alpha official Kotlin support for Visual Studio Code and an implementation of Language Server Protocol "
},
{
"path": "lsp/kulala_ls.lua",
"chars": 238,
"preview": "---@brief\n---\n--- https://github.com/mistweaverco/kulala-ls\n---\n--- A minimal language server for HTTP syntax.\n\n---@type"
},
{
"path": "lsp/laravel_ls.lua",
"chars": 325,
"preview": "---@brief\n---\n--- https://github.com/laravel-ls/laravel-ls\n---\n--- `laravel-ls`, language server for laravel\n---\n--- The"
},
{
"path": "lsp/lean3ls.lua",
"chars": 1287,
"preview": "---@brief\n---\n--- https://github.com/leanprover/lean-client-js/tree/master/lean-language-server\n---\n--- Lean installatio"
},
{
"path": "lsp/lelwel_ls.lua",
"chars": 319,
"preview": "---@brief\n---\n--- https://github.com/0x2a-42/lelwel\n---\n--- Language server for lelwel grammars.\n---\n--- You can install"
},
{
"path": "lsp/lemminx.lua",
"chars": 644,
"preview": "---@brief\n---\n--- https://github.com/eclipse/lemminx\n---\n--- The easiest way to install the server is to get a binary fr"
},
{
"path": "lsp/lexical.lua",
"chars": 558,
"preview": "---@brief\n---\n--- https://github.com/lexical-lsp/lexical\n---\n--- Lexical is a next-generation language server for the El"
}
]
// ... and 655 more files (download for full content)
About this extraction
This page contains the full source code of the neovim/nvim-lspconfig GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 855 files (2.2 MB), approximately 617.9k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.