aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
...
* fix: update lua types to match latest nightly (#3048)Carlo Sala2024-03-052-7/+7
|
* fix(beancount): rename journalFile to journal_file (#3047)Sharzy2024-03-041-1/+1
|
* docs: updated documentation for `harper-ls` (#3045)Elijah Potter2024-03-041-2/+14
| | | | | * feat: updated documentation for `harper-ls` * fix(style): now aligns with `nvim-lspconfig` style guide
* fix(css_variable_lsp): improve default settings (#3046)Rogin Farrer2024-03-041-0/+40
| | | | | | | | | * fix: CSS Variables LSP default settings * fix docs --------- Co-authored-by: Rogin Farrer <rfarrer@wayfair.com>
* fix(css-variables): change - to _ in filename (#3044)gegoune2024-03-031-0/+0
|
* feat: add css-variables-language-server (#3042)Rogin Farrer2024-03-031-0/+27
| | | Co-authored-by: Rogin Farrer <rfarrer@wayfair.com>
* docs(terraformls): add docs on how to pass settings (#3040)Wessel Blokzijl2024-03-031-0/+6
|
* feat: add pico8-ls support (#3041)Alberto Russo2024-03-031-0/+17
|
* feat: add markdown-oxide lsp (#3030)Felix Zeller2024-02-291-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: add markdown-oxide lsp * fix: style * fix: modify root_dir to include git repos * fix: fix undefined lspconfig error * fix: style * fix: use util Co-authored-by: Raphael <glephunter@gmail.com> * fix: use find git ancestor Co-authored-by: Raphael <glephunter@gmail.com> * Update markdown_oxide.lua Co-authored-by: Raphael <glephunter@gmail.com> --------- Co-authored-by: Raphael <glephunter@gmail.com>
* feat: add delphilsp support (#3034)St8Razor2024-02-291-0/+49
| | | | | | | | | * feat: add delphilsp support * fix: move lsp config file change notification to on_attach --------- Co-authored-by: Michael Ribnitski <St8Razor@users.noreply.github.com>
* docs(veryl_ls): update url of verly_ls (#3037)dalance2024-02-281-1/+1
|
* fix(pyright): fix PyrightSetPythonPath command (#3032)neolooong2024-02-271-1/+5
|
* fix(rust_analyzer): declare single file support (#3028)rhjdvsgsgks2024-02-251-0/+1
|
* docs(lua_ls): add comment about additional libraries (#3029)Maria José Solano2024-02-251-0/+2
|
* fix(bqnlsp): do not override user provided `cmd_env` (#3026)BarrOff2024-02-251-6/+8
|
* fix: let core handle 'workspace/didChangeConfiguration' after init (#3023)Maria José Solano2024-02-242-5/+0
|
* feat: add bqnlsp support (#3024)BarrOff2024-02-241-0/+43
| | | | | * feat: add bqnlsp support * chore(bqnlsp): fix typo in documentation comment
* fix(purescript-language-server): add 'spago.yaml' to the list of ↵klausweiss2024-02-231-2/+9
| | | | root_patterns (#3022)
* fix: rename twig-language-server to twiggy-language-server (#3021)Frederik Buchlák2024-02-221-0/+0
|
* fix: twig-language-server cmd (#3019)Frederik Buchlák2024-02-221-2/+4
| | | | | * fix: twig-language-server cmd * revert docs change
* feat: add gdshader-lsp support (#3018)GodOfAvacyn2024-02-211-0/+16
|
* fix(ocaml): trigger by filetype, not language id (#3016)dkm2024-02-201-1/+1
|
* fix(typos_lsp): update repository url (#3012)Sergey Alexandrov2024-02-161-2/+2
|
* feat(solidity_ls)!: switch to first-party npm package (#3011)L2024-02-151-9/+21
| | | | | | | | | | The unofficial npm package was only uploaded once, two years ago: https://www.npmjs.com/package/solidity-language-server There is now a first-party package: https://github.com/juanfranblanco/vscode-solidity/issues/432#issuecomment-1943584107 https://www.npmjs.com/package/vscode-solidity-server
* fix(quick_lint_js): enable for typescript (#3010)pseudometa2024-02-141-1/+1
|
* feat(docker-compse-lsp): add more filetype into docker compse server(#3008)Cézar Augusto2024-02-131-2/+2
| | | | | Update the root patterns according to the compose spec. Source: https://github.com/compose-spec/compose-spec/blob/master/03-compose-file.md
* fix(denols): add new deno.cache request implmention (#3007)Hibiki2024-02-131-18/+9
| | | | | * fix: Follow latest denols implmention * fix: Query clients with bufnr
* fix(texlab): search for default texlab root files (#3005)Steven Jin2024-02-121-1/+1
|
* feat(fennel-ls): allow utf-8 offsetEncoding (#3002)XeroOl2024-02-101-0/+4
| | | | | The `fennel-ls` server can support `utf-8` offsetEncoding now, and it is preferred, as both neovim and fennel-ls use UTF-8 text encoding natively.
* feat: add harper_ls support (#3001)Elijah Potter2024-02-091-0/+36
| | | | | | | | | | | * feat: added `harper_ls` support * fix(unused parameter): removed settings parameter from `harper_ls` config Co-authored-by: Raphael <glephunter@gmail.com> --------- Co-authored-by: Raphael <glephunter@gmail.com>
* feat: added koka language server support (#3000)Alec Davis2024-02-071-0/+36
| | | Co-authored-by: ki11errabbit <ki11errabbit@posteo.net>
* fix: enforce single file mode check when root_dir differs from client (#2998)Patricio Serrano2024-02-061-1/+2
| | | fixes issue [#2959](https://github.com/neovim/nvim-lspconfig/issues/2959#issue-2068768094)
* feat: add `templ` filetype in html htmx tailwindcss (#2996)mortezadadgar2024-02-043-2/+4
| | | | | | | * feat(tailwindcss): add `templ` to filetypes * feat(html): add `templ` to filetypes * feat(htmx): add `templ` to filetypes
* fix(rust-analyzer): re-analyzing cargo deps (#2995)Jerko Steiner2024-02-021-2/+3
| | | | | | | | | | | | | | | | I'm not that well versed in Lua, but the previous check if fname:sub(1, #item) == item didn't really work as expected and I was still experiencing high CPU usage when using the `go to definition` functionality. After adding some print statements for debugging, I noticed that only a few strings were removed from the base dir and thus the comparison was failing. Perhaps it might work differently in other operating systems, but my Linux machine it did not work correctly. I replaced this check with `util.path.is_descendant` which now works correctly, as well as added another path to check when git repositories are used as cargo dependencies.
* fix(typst_lsp): declare single file support (#2994)rhjdvsgsgks2024-02-011-0/+1
|
* feat(ltex): imrove default settings(#2979)Mateusz Majewski2024-01-311-11/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(ltex): fix rnoweb support Unfortunately language code `sweave` will not be understood by LTeX and `rsweave` must be used, as can be seen in the source code here: https://github.com/valentjn/ltex-ls/blob/16.0.0/src/main/kotlin/org/bsplines/ltexls/parsing/CodeFragmentizer.kt#L61 and here: https://github.com/valentjn/ltex-ls/blob/16.0.0/src/main/kotlin/org/bsplines/ltexls/settings/Settings.kt#L185 LTeX will fall back to plaintext, but this will emit a warning and provide slightly worse suggestions. * fix(ltex): disable unnecessary xhtml mapping This mapping does not do anything, the `get_language_id` function will just return `xhtml` by default. * feat(ltex): add plaintext mapping LTeX will only understand `plaintext`: https://github.com/valentjn/ltex-ls/blob/16.0.0/src/main/kotlin/org/bsplines/ltexls/parsing/CodeFragmentizer.kt#L70 though it will fall back to plain text when provided `text` as mapping, but will output a warning when doing so. Note that we do not enable the `text` filetype by default, as LTeX itself does not do so. However, this filetype will not be useable without this mapping anyway, so doing this makes using enabling this manually slightly easier. * fix(ltex): set ltex.enabled LTeX is launched whenever the filetype is on the preset list, but will then verify the language ID against its list and will refuse to run if the language ID is not on the list. The default can be seen in https://github.com/valentjn/ltex-ls/blob/16.0.0/src/main/kotlin/org/bsplines/ltexls/settings/Settings.kt#L175 and somewhat matches the supported markup languages list. The issue resolved by this commit comes from the fact that LTeX will accept several aliases for each language, for instance it will handle `gitcommit` and `git-commit` the same way. However, only `git-commit` appears on the default enabled list. Since there is no `gitcommit -> git-commit` mapping in `language_id_mapping`, LTeX will ignore `gitcommit`. This could also be solved by adding this mapping, however setting a default value of `ltex.enabled` has smaller change of breaking existing configuration. Same situation happens for `xhtml`. * feat(ltex): enable in context, html and xhtml filetypes ConTeXt was requested in #2663. LTeX is documented to enable it by default, but this is not consistent with the default in the code: https://github.com/valentjn/ltex-ls/blob/16.0.0/src/main/kotlin/org/bsplines/ltexls/settings/Settings.kt#L175 Regardless of this we will enable it by ourselves anyway. We also enable HTML and XHTML as there already has been an attempt to enable them previously, as there has been a mapping for `xhtml` in the `language_id_mapping` array. HTML support is enabled in LTeX by default anyway.
* feat: add dprint lsp (#2982)Seth Daniel2024-01-311-0/+33
|
* feat(helm-ls): enable dynamicRegistration for didChangeWatchedFiles (#2992)valentin2024-01-301-0/+10
| | | | This is required for the upcoming release of helm-ls see https://github.com/mrjosh/helm-ls/pull/58
* feat(swift_mesonls): add meson.options as a root marker (#2991)Tristan Partin2024-01-301-2/+2
| | | | This is the preferred filename for defining options for a few versions. meson_options.txt is legacy, but will continue to stick around.
* fix(texlab): look for ".git" before ".latexmkrc"Justin M. Keyes2024-01-291-1/+1
| | | | | | fix #2975 followup to: 995603cfaecffe10e0f4bf57f92d187f86c2de39
* fix: disable autostart after :LspStop #2987brook hong2024-01-281-0/+3
| | | | | | | | | | Problem: The `BufReadPost` handler may autostart LSP, even after `:LspStop`. Solution: Remove the `BufReadPost` handler if there are no clients (assuming that `:LspStop` stopped them). Note: The `BufReadPost` handler will be recreated if user runs `:LspStart`.
* fix(mdx_analyzer): pass typescript lib as option (#2974)Jake Potrebic2024-01-281-0/+13
| | | Per https://github.com/orgs/mdx-js/discussions/2427 and my own testing, mdx_analyzer needs a similar treatment as volar and astro to pass the typescript library into the lsp. Otherwise you get the error mentioned in that discussion.
* fix(biome)!: make biome only run in projects with biome.json file (#2984)willparsons2024-01-281-7/+3
| | | | | | | Closes #2980 This PR adjusts the configuration for the biome LSP to only attach if there is an existing biome.json found. This helps prevent conflicts in ESLint projects since biome would attach and start providing diagnostics and would format files which could conflict with the ESLint/Prettier rules that are defined.
* fix(lua-language-server): update root directory search (#2842)Dmitriy Gorokhov2024-01-281-1/+1
|
* feat: enable single file mode for vale_ls (#2978)alex-tdrn2024-01-201-0/+1
| | | | as of vale 3.0.0, vale can be used with a system default `.vale.ini`, which means vale_ls can also be used in single file mode
* feat: add bzl lsp (#2973)matawed2024-01-191-0/+22
| | | Co-authored-by: Markus Tauchnitz <dev@planet-mt.de>
* chore: update dcmls config (#2969)Robert Brunhage2024-01-141-1/+1
| | | | | * chore: update dcm config * chore: add more docs around dcmls
* chore: update dcmls configuration (#2965)Robert Brunhage2024-01-121-2/+2
|
* feat: add dcmls support (#2963)Robert Brunhage2024-01-121-0/+19
| | | https://dcm.dev/
* fix(docs): Add note about filetype for docker-compose (#2961)Uzair Aftab2024-01-121-0/+2
|