aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/sumneko_lua.lua
Commit message (Collapse)AuthorAgeFilesLines
* feat: rename sumneko_lua -> lua_ls (#2439)figsoda2023-02-121-91/+0
| | | | | | | | | | | * feat: rename sumneko_lua -> lua_language_server * refactor(sumneko_lua): use vim.deprecate * refactor: handle deprecated server aliases in one place * refactor: put server aliases in a function * feat: rename lua_language_server -> lua_ls
* docs: update sumneko_lua installation url (#2263)Ra2022-11-281-1/+1
|
* fix(lua-lsp): Append 'lua/' to root_patern if the pattern is under lua (#2248)sigmaSd2022-11-191-1/+5
|
* fix(sumneko_lua): add .luarc.jsonc to root pattern (#2245)figsoda2022-11-191-1/+2
|
* fix(sumneko_lua): check for yaml format of selene config (#2228)vladislav doster2022-11-061-1/+2
| | | Related documentation: https://kampfkarren.github.io/selene/archive/std_v1.html
* fix(sumneko_lua): check for file root patterns before falling back to a ↵Folke Lemaitre2022-09-291-2/+1
| | | | check for `lua/` (#2160)
* fix: added 'lua/' to sumenko root patterns (#2157)Folke Lemaitre2022-09-271-0/+1
|
* fix(lua-language-server): check if root dir is home directory (#2110)uga-rosa2022-09-061-1/+5
|
* fix(lua-language-server): cmd fails on Windows when using mason #2039TuanHA2022-08-011-1/+9
|
* fix(sumneko_lua): Stylua default (#1996)Null Chilly2022-07-131-1/+2
| | | https://github.com/JohnnyMorganz/StyLua#finding-the-configuration
* docs(sumneko_lua): fix usage of runtime_path (#1915)Michael Adler2022-05-201-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two ways for sumneko to search for files, namely: 1. Lua.runtime.path When using `require`, how to find the file based on the input name. Setting this config to `?/init.lua` means that when you enter `require 'myfile'`, `${workspace}/myfile/init.lua` will be searched from the loaded files. if `runtime.pathStrict` is `false`, `${workspace}/**/myfile/init.lua` will also be searched. If you want to load files outside the workspace, you need to set `Lua.workspace.library` first. 2. Lua.workspace.library In addition to the current workspace, which directories will load files from. The files in these directories will be treated as externally provided code libraries, and some features (such as renaming fields) will not modify these files. The crucial point is that `Lua.runtime.path` only applies to the *current* workspace. Thus it makes no sense to add any absolute directories here. Absolute directories must be added to workspace.library, which is already the case. The default value provided by sumneko is what you typically would expect, so we can just stick to it. References: - github.com/sumneko/lua-language-server/blob/076dd3e5c4e03f9cef0c57/locale/en-us/setting.lua#L5-L13 - github.com/sumneko/lua-language-server/blob/e62d964ff57cc0b37eb90831/script/config/config.lua#L151
* docs: clarify recommendations for lua-language-server (#1845)Michael Lingelbach2022-04-171-1/+16
|
* fix(lua-language-server): update root-markers (#1825)kylo2522022-04-091-2/+10
|
* chore: remove all package.json (#1656)Michael Lingelbach2022-02-251-1/+0
|
* docs(lua): simplify cmd documentation (#1539)Christian Clason2021-12-041-4/+1
| | | | `lua-language-server` can now be started with a simple call to the eponymous binary. assume that can be found in `$PATH`.
* docs(lua): clarify sumneko `cmd` settingChristian Clason2021-12-041-1/+1
|
* docs: update lua-language-server instructions (#1537)Michael Lingelbach2021-12-041-16/+2
| | | passing `-E main.lua` is no longer required on the latest version (2.5.0) of `lua-language-server`
* chore: clean up importsMichael Lingelbach2021-11-251-1/+1
|
* feat: expose configsMichael Lingelbach2021-11-251-0/+73