LazyVim.LazyVim/lua/lazyvim/plugins/extras/lang
Ray Guo 4b0f720457
feat(vue): enabled hybrid mode to avoid 2 typescript lsp running at same time (#3908)
## What is this PR for?

At the moment, the config for vue set hybrid mode to `false` which volar
will run a typescript server under the hook. ( hybrid mode false is the
takeover mode in v1, was introduced in `2.0.7` see more information
here: https://github.com/vuejs/language-tools/pull/4119 ).

However, another vtsls with vue language plugin also attached to vue
files, this will cause two typescript server running at the same time.
It can be very easily observed with tools like `htop` volar and vtsls
will have similar memory usage which is abnormal because volar should be
very light by itself. This will introduce issues like duplicate
diagnostics, see
https://github.com/vuejs/language-tools/issues/4159#issuecomment-2208101079

In this pull request, I set the hybrid mode to true as default because
the hybrid mode is the "correct" way moving forward, thus it would be
more stable. Let me know if you feel it should stay as `false` to be
default.

## Does this PR fix an existing issue?

No existing issue.

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-07-05 16:12:04 +02:00
..
angular.lua fix(extra-lang-angular): add BufNew event to attach angular treesitter (#3522) 2024-06-08 23:57:45 +02:00
ansible.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
astro.lua fix(extras.astro): support astro.config.ts root (#3786) 2024-06-23 22:19:47 +02:00
clangd.lua revert: "fix(dap): set host to 127.0.0.1 instead of localhost to prevent issues with ipv6. Fixes #3577" 2024-06-11 19:14:27 +02:00
clojure.lua fix(clojure): removed rainbow delimiters and fixed some plugin setups. Closes #3530 2024-06-07 23:10:40 +02:00
cmake.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
docker.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
elixir.lua fix(elixir): fix credo detection for elixir linters. (#3809) 2024-06-25 21:04:32 +02:00
elm.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
erlang.lua feat(erlang): add Erlang language (#3911) 2024-07-04 20:47:33 +02:00
git.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
gleam.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
go.lua feat(go): switch to neotest-golang (#3749) 2024-06-23 07:01:22 +02:00
haskell.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
helm.lua fix(helm): missing dependency (#3546) 2024-06-09 07:33:59 +02:00
java.lua feat(java): enable Lombok support in jdtls (#3852) 2024-06-29 11:45:53 +02:00
json.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
kotlin.lua revert: "fix(dap): set host to 127.0.0.1 instead of localhost to prevent issues with ipv6. Fixes #3577" 2024-06-11 19:14:27 +02:00
markdown.lua perf(markdown): only run markdownlint-cli2 formatter when there are markdownlint diagnostics for the buffer 2024-06-30 11:16:10 +02:00
nix.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
nushell.lua feat(nushell): add minimal support (#2416) 2024-06-05 23:35:46 +02:00
omnisharp.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
php.lua feat(php): allow using intelephense instead of phpactor in php extras (#3691) 2024-06-17 06:47:47 +02:00
prisma.lua feat(extra): add prisma support and config (#3684) 2024-06-18 19:03:19 +02:00
python.lua fix(extras.python): avoid launching extra console with dap on Windows (#3723) 2024-06-18 21:31:41 +02:00
r.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
ruby.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
rust.lua fix(rust): incorporate latest changes from rustaceanvim (#3655) 2024-06-14 23:07:42 +02:00
scala.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
sql.lua docs(extra.sql): add sql options docs (#3765) 2024-06-25 22:01:04 +02:00
svelte.lua feat(svelte): with prettier & svelte extra, prettier will be enabled when prettier-plugin-svelte is available 2024-06-07 23:02:47 +02:00
tailwind.lua refactor: config = true >> opts = {} 2024-06-11 00:06:56 +02:00
terraform.lua feat(pick): move pickers to extras (telescope still the default) (#3606) 2024-06-13 06:07:02 +02:00
tex.lua fix(which-key): use new which-key support for native group keymaps (nop) 2024-06-06 10:46:56 +02:00
thrift.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
toml.lua fix: cleanup unnecessary treesitter langs and mason lsp servers 2024-06-05 18:07:01 +02:00
typescript.lua revert: "fix(dap): set host to 127.0.0.1 instead of localhost to prevent issues with ipv6. Fixes #3577" 2024-06-11 19:14:27 +02:00
vue.lua feat(vue): enabled hybrid mode to avoid 2 typescript lsp running at same time (#3908) 2024-07-05 16:12:04 +02:00
yaml.lua refactor: LazyVim.lsp.on_attach 2024-06-08 08:11:30 +02:00