Justin M. Keyes
f619467eb5
fix: show backtrace from deprecate() call
...
ref 1f7fbc34e6420476142b5cc85e9bee52717540fb
ref #4095
2025-10-11 11:04:02 -04:00
Justin M. Keyes
1f7fbc34e6
refactor!: deprecate old framework/configs, Nvim 0.10 #4077
2025-09-17 20:30:24 -07:00
Justin M. Keyes
ed4dff80c0
feat: require Nvim 0.10+ #3692
2025-04-05 15:16:20 -07:00
glepnir
2c007c79ee
fix(typst_lsp): deprecate typst_lsp to tinymist ( #3493 )
...
Problem: typst_lsp has been archived.
Solution: use tinymist instead
Fix #3492
2024-12-05 18:54:48 +08:00
glepnir
52302604e3
chore: fix typo on deprecate of bufls ( #3422 )
2024-11-06 15:28:56 +08:00
Imron Gamidli
2e92288351
feat(buf): new lsp for protobuf ( #3414 )
...
new server bufls for protobuf filetype
2024-11-06 13:38:53 +08:00
Peter Lithammer
dff0299f2a
chore(ruff_lsp): deprecate ruff_lsp in favour of ruff ( #3420 )
...
`ruff server` has been stable for some time now.
2024-11-06 13:37:50 +08:00
Micah Halter
09074a2931
fix: malformed version message in older Nvim #3345
2024-10-03 08:05:59 -07:00
dundargoc
1c2595e38d
feat: assert minimum required Nvim version #3338
2024-10-03 01:45:05 -07:00
Justin M. Keyes
e6569c18c2
feat(lspinfo): replace :LspInfo with :checkhealth #3339
...
Problem:
:LspInfo has its own "inner platlform" of highlights, mappings etc. And
it doesn't integrate with :checkhealth.
Solution:
- Move the lspinfo code to a healthcheck.
- LspInfo features such as highlights, "floating window" presentation,
etc., should be added to :checkhealth in Nvim core, if they are really
needed.
- Define a "q" mapping until Nvim stable has that in :checkhealth.
2024-10-02 06:57:18 -07:00
Justin M. Keyes
bedb2a0df1
refactor: rename "server_configurations" => "configs" #3330
...
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.
2024-10-01 05:39:12 -07:00
glepnir
73e0002b6f
feat: show deprecate servers list in LspInfo ( #3308 )
...
* feat: show deprecate servers list in LspInfo
In order to smoothly transition to the vim.lsp.start interface in the future,
adding checkhealth here is meaningless. Only the lspinfo information window
is available. So shown deprecate servers list in LspInfo and update the
server deprecate remove version to 0.2.1. 0.2.0 is tagged too
quickly cause some servers not removed.
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2024-09-18 20:36:07 +08:00
Yi Ming
bdbc65aadc
feat(ts_ls)!: rename tsserver to ts_ls #3232
...
`tsserver` cannot be used as an abbreviation for `typescript-language-server`, because there is [`tsserver`](https://github.com/microsoft/TypeScript/wiki/Standalone-Server-(tsserver) ) already and it is completely different from `typescript-language-server`. This is misleading.
As the [README of `typescript-language-server`](https://github.com/typescript-language-server/typescript-language-server/blob/master/README.md ) says, it's a wrapper of `tsserver`. This abuse has been around for so many time in lspconfig that people don't realize they are two different things, and are then confused by replacements of `typescript-language-server` like [typescript-tools.nvim](https://github.com/pmizio/typescript-tools.nvim ) and [vtsls](https://github.com/yioneko/vtsls ).
2024-09-05 01:26:31 -07:00
Nithin Bekal
40f9286377
fix: rename ruby_ls to ruby_lsp ( #3105 )
2024-04-14 14:11:32 +08:00
Raphael
ae3debca7c
fix(sqls): deprecate sqls suggest sqlls instead ( #2544 )
2023-04-05 16:51:16 +08:00
Raphael
c5acbac784
fix: remove deprecate function config.available_servers ( #2457 )
...
this function mark as deprecate in 0.1.4
use util.available_servers instead of
2023-02-14 16:09:33 +08:00
figsoda
b4c9b0cca8
feat: rename servers with hyphens (-) ( #2451 )
...
* feat: rename fennel-ls -> fennel_ls
* feat: rename starlark-rust -> starlark_rust
2023-02-12 10:50:05 +08:00
figsoda
6669f2d8eb
feat: rename sumneko_lua -> lua_ls ( #2439 )
...
* 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
2023-02-12 10:30:20 +08:00
Raphael
520c609210
fix: lspstart should be work without arg ( #2090 )
2022-08-26 11:12:52 +08:00
Raphael
b004cc6e58
fix: add vim.deprecate in old function ( #2080 )
...
* fix: add vim.deprecrate in old function
* fix: typo
2022-08-24 07:58:50 +08:00
Ranjith Hegde
fe7a6f41e5
feat!: 0.7 API update ( #1984 )
...
* switch to lua api for autocommands
* switch to nvim_create_user_command
* move to lua plugin initialization
NOTICE: Defining commands in server configurations will be deprecated in
future releases.
See `:help lspconfig.txt` to setup the same in an `on_attach` function.
Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com>
2022-08-23 07:03:20 -07:00
William Boman
6c3cbbc4d5
fix: only consider servers that have been set up as available ( #2066 )
...
* test: add failing test
* fix(lspconfig): only consider servers that have been set up as available
2022-08-23 19:20:29 +08:00
Justin M. Keyes
3ced720e70
fix(lspconfig.lua): lint
2022-06-01 07:25:12 -07:00
William Boman
2972d9264b
feat: add :LspLog command #1917
2022-05-22 06:39:16 -07:00
William Boman
d0263c11e5
chore: prefix all vim.notify message with [lspconfig] ( #1496 )
2021-11-27 09:58:00 -05:00
Michael Lingelbach
97da7ed12e
chore: clean up imports
2021-11-25 23:46:21 -05:00
Michael Lingelbach
6c2fb86c6a
feat: expose configs
2021-11-25 23:46:21 -05:00
kylo252
57ea20d81f
fix: disambiguate autostart option from function name ( #1356 )
...
* make `config.autostart` separate from `config.launch()`
* simplify handling of `config.autostart`
* check for `true` instead of `not false`
* replace `trigger` with the conventional `event` and `pattern`
2021-11-08 08:21:24 -08:00
Vsevolod
a209627886
feat: improve interface for :Lsp* commands ( #1324 )
2021-10-17 16:13:21 -07:00
Michael Lingelbach
1d2efff442
fix: use pairs in LspRestart ( #1234 )
2021-09-07 11:57:17 -07:00
Michael Lingelbach
08a698d652
chore: remove modeline ( #1177 )
2021-08-24 10:12:38 -04:00
Michael Lingelbach
09c3ca620e
chore: refactor ui components ( #1172 )
2021-08-24 08:40:45 -04:00
Michael Lingelbach
cd1ccf056b
chore: change stylua to single quotes ( #1068 )
2021-07-13 10:41:39 -07:00
Michael Lingelbach
ec11b85df7
ci: lint and format with stylua
2021-07-03 15:49:27 -07:00
David Hotham
a0d8ea24ab
Wrap dofile in pcall
...
Fixes #876
2021-05-03 19:40:36 +01:00
Michael Lingelbach
04f223f3d0
Use dofile instead of require for faster setup({})
...
* closes #239
* For 76 language servers, this decreases time to invoke setup({}) from
~126 ms to ~1ms
2021-04-23 00:57:36 -07:00
Michael Lingelbach
8995de7ec5
Lazily require lspinfo to save on start-up time
2021-04-21 19:22:02 -07:00
Michael Lingelbach
2d68715496
LspStart: make start all matching clients by default
2021-04-14 01:35:11 -07:00
kraftwerk28
a39b3109e0
Restart clients attached to current buffer if none specified
2021-04-05 13:56:38 +03:00
Michael Lingelbach
1dfab4f50f
Add stop, start, and restart commands
2021-03-28 01:48:57 -07:00
Matthieu Coudron
71fb8081e9
chore: remove deprecated module/function
2021-02-25 19:12:06 +01:00
Michael Lingelbach
76831d5d04
Fix metatable __index for defining new language servers
2021-01-31 18:40:10 -08:00
Michael Lingelbach
a1825d2afb
Remove deprecated commands :LspInstall and :LspInstallInfo
2021-01-24 14:32:53 -08:00
Michael Lingelbach
77aecd7358
lspinfo: move to module
2021-01-15 13:02:44 -08:00
Michael Lingelbach
ad33c65f00
Add handling for nil filetypes
2021-01-15 11:48:38 -08:00
Michael Lingelbach
c15458eb7d
LspInfo: fix display when client cmd contains newlines
2021-01-14 22:11:09 -08:00
Michael Lingelbach
9ffc8154da
LspInfo: fix when filetypes not defined
2021-01-14 14:00:53 -08:00
Michael Lingelbach
acc93eb3fe
Fix root detection for LspInfo, cache setup
2021-01-14 11:34:56 -08:00
Michael Lingelbach
8c63f6c919
Commands: add LspInfo
2021-01-11 14:49:09 -08:00
Michael Lingelbach
f60ba8558f
Add compatibility functions with deprecation notice
2021-01-03 06:53:47 -08:00