aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/denols.lua
Commit message (Collapse)AuthorAgeFilesLines
* refactor: rename "server_configurations" => "configs" #3330Justin M. Keyes2024-10-011-127/+0
| | | | | | | | | | | | | | Problem: The name `server_configurations` is extremely verbose and irritatingly formal and dogmatic. This overlong name is a constant nuisance when reading, writing, and coding. It's also not even correct: these configurations are just as much "client" configurations as they are "server" configurations. Solution: - Rename to a shorter name. - Leave placeholder files for any old URLs that link to the old location.
* refactor: move all old get_clients to new compatible (#3159)glepnir2024-05-171-1/+1
|
* fix(denols): add new deno.cache request implmention (#3007)Hibiki2024-02-131-18/+9
| | | | | * fix: Follow latest denols implmention * fix: Query clients with bufnr
* feat(denols): follow the latest default value of the vscode extension (#2936)NAKAI Tsuyoshi2023-12-191-5/+3
| | | | | * feat(denols): follow the latest default value of the vscode extension * fix(denols): nvim_buf_set_option is deprecated
* feat(denols): enable import completion from registries #2793sigmaSd2023-09-151-3/+13
|
* fix(denols): pass config to vim.lsp.handlers (#2638)NAKAI Tsuyoshi2023-05-291-4/+4
|
* feat: make deno/cache async (#2569)sigmaSd2023-04-271-1/+7
| | | | | | | * feat: make deno/cache async * feat: show file name in deno cache error * fix: use fname isntead of uri
* fix(denols): use correct param in nvim_buf_set_lines (#2510)Raphael2023-03-161-1/+1
|
* fix(deno): use virtual text handler for typeDefinition (#2338)sigmaSd2022-12-221-0/+1
|
* fix(denols): revert "remove unneeded lsp attach" #2070sigmaSd2022-08-231-4/+3
| | | | | | | | | | | | | | | I found the root cause of denols problems: https://github.com/neovim/neovim/pull/19797 With that pr applied (and with this revert) denols works perfectly almost identical to vscode deno, its missing some features but I imagine those are out of scope for lspconfig. Problems will reappear until nvim fixes: https://github.com/neovim/nvim-lspconfig/issues/1998 This is an ok tradeoff because `single_file_support=true` causes other issues: https://github.com/neovim/nvim-lspconfig/issues/2069
* feat(denols): only send lsp requests to deno server (#2055)sigmaSd2022-08-231-28/+26
|
* fix(denols): fix misspellingJeff Fowler2022-08-061-1/+1
|
* fix(denols): handle deno.cache from codeaction #2016sigmaSd2022-07-221-0/+7
|
* fix(denols): jumping to definition then returning breaks lsp #2000sigmaSd2022-07-171-2/+3
| | | | | | - remove unneeded lsp attach - default to single_file_support=true fix https://github.com/neovim/nvim-lspconfig/issues/1998
* fix(denolos): ignore caching error #2009sigmaSd2022-07-171-5/+1
| | | | Caching actually works but it throws an error, vscode-deno also doesn't seem to care about errors https://github.com/denoland/vscode_deno/blob/196a11cead2d95c324cb772dd568ba7c2801b68a/client/src/commands.ts#L60
* fix(ccls): provide a string in docs.default_config.root_dir (#2006)William Boman2022-07-161-13/+14
|
* fix(denols): ignore virtual text error #1995sigmaSd2022-07-141-11/+17
| | | | | | | | | | | | | If you open a file and immediately try to go to definition this error happens: ``` {["error"]={["message"]="Method not found: deno/virtualTextDocument",["code"]="-32601"}} {["error"]={["message"]="Method not found: deno/virtualTextDocument",["code"]="-32601"}} {["error"]={["code"]="-32601",["message"]="Method not found: deno/virtualTextDocument"}} {["error"]={["code"]="-32601",["message"]="Method not found: deno/virtualTextDocument"}} ``` Seems to be a race condition where the virtual text handling is not ready yet. Because this error is unhelpful and the gotodefinition works normally after a couple of seconds, just ignore it.
* style: fix bad formatting (#1944)Peter Lithammer2022-06-021-1/+1
|
* fix(denols): update settings for lint and tsconfig #1933David2022-05-301-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | - Linting is now enabled by default https://deno.com/blog/v1.22#linting-enabled-by-default-in-the-lsp so it should not be turned off in these settings - `tsconfig` is an outdated way to make any config changes in Deno and should not be used: https://deno.land/manual/typescript/configuration#configuring-typescript-in-deno > ⚠️ Deno v1.14 started supporting a more general configuration file that is no > longer confined to specifying TypeScript compiler settings. Using > tsconfig.json as a file name will still work, but we recommend to use > deno.json or deno.jsonc @jason0x43 agreed in the previous thread: https://github.com/neovim/nvim-lspconfig/pull/1321#issuecomment-1024191242 > Currently, deno only looks for deno.json, deno.jsonc, tsconfig.json, or .git > to determine the root. I think dropping tsconfig.json makes sense because Deno > now has it's own preferred config file name. Having .git seems reasonable > enough because projects will often be in git repos. I could even see enabling > single_file mode by default for the Deno LS since making simple CLI tools is > (theoretically) a standard use case. If this pull request is accepted then the docs can also be simplified: https://deno.land/manual/getting_started/setup_your_environment#neovim-06-and-nvim-lspconfig
* chore: remove all package.json (#1656)Michael Lingelbach2022-02-251-1/+0
|
* fix(denols): simplify/update location handler (#1638)Michael Lingelbach2022-01-051-49/+4
|
* fix(denols): add package_json (#1611)tamago3242021-12-261-0/+1
|
* chore!: remove compat shims for pre-0.5.1 handlers (#1530)Christian Clason2021-12-021-9/+3
|
* chore: clean up importsMichael Lingelbach2021-11-251-1/+1
|
* feat: expose configsMichael Lingelbach2021-11-251-0/+165