Marco Hinz
cd75d3289a
Merge pull request #14200 from teto/treesitter-checkhealth
...
feat: treesitter checkhealth
2021-04-07 16:40:56 +02:00
Michael Lingelbach
91cdc11984
Merge pull request #14309 from mjlbach/feature/hover_return_win_buf
...
lsp: hover window should return buf/winnr from focusable float
2021-04-07 00:58:32 -07:00
Michael Lingelbach
5610e8a4ac
lsp: hover window should return buf/winnr from focusable float
2021-04-07 00:21:56 -07:00
Michael Lingelbach
2c0bcc539a
lsp: update documentation on window borders
2021-04-06 23:51:15 -07:00
Thomas Vigouroux
952508d405
fix(ts): move checkhealth in runtime/vim
2021-04-06 19:03:04 +02:00
Thomas Vigouroux
e8bc3d717e
feat(ts): include parser ABI version in checkhealth
2021-04-06 19:02:58 +02:00
Matthieu Coudron
86ced59a6a
feat: treesitter checkhealth
2021-04-06 18:54:22 +02:00
elianiva
c84b1b1ad0
feat(lsp): make hover/signature_help borders configurable
...
change hl groups for the example
rename borders -> border
2021-04-06 12:13:31 +07:00
Michael Lingelbach
2c4e9c5245
lsp: floating window improvements ( #14207 )
...
* remove left/right padding feature from trim_and_pad
* use invisible borders by default on floating windows
2021-04-05 15:43:08 +02:00
Stephan Seitz
43eb22d4c9
Fix #14192 : Handle IO errors and close files in query.lua
2021-04-02 16:21:49 +02:00
Thomas Vigouroux
3f7cd18c4a
Merge pull request #14218 from steelsojka/bugfix/check-queries-exist
...
fix(treesitter): check highlight queries exist
2021-04-02 05:24:49 +02:00
Michael Lingelbach
3b01dd4183
lsp: allow launching language servers with uv_spawn using cwd arg
2021-04-01 14:24:37 -07:00
Thomas Vigouroux
11bea67a55
fix: allow accessing vim.treesitter.language without require
2021-04-01 16:51:36 +02:00
Michael Lingelbach
3d25a72a60
Merge pull request #14264 from mjlbach/feature/handle_reloading_buffer
...
lsp: add on_reload callback for buffer edits outside of neovim
2021-04-01 01:08:39 -07:00
Michael Lingelbach
f738f089da
Merge pull request #14262 from mjlbach/feature/lsp_did_save_autocommand
...
lsp: clear did_save handler autocommand on each attach
2021-04-01 00:53:47 -07:00
Michael Lingelbach
f87ae324bb
lsp: fix textDocument/workspaceSymbol -> workspace/symbol
2021-03-31 23:53:07 -07:00
Michael Lingelbach
92e106ba23
lsp: add on_reload callback for buffer edits outside of neovim
2021-03-31 22:41:00 -07:00
Michael Lingelbach
08941e163e
lsp: clear did_save handler autocommand on each attach
2021-03-31 20:23:17 -07:00
TJ DeVries
06c065469b
ts: Add per-language highlight links
2021-03-31 18:09:00 +02:00
Thomas Vigouroux
94c2ce2ce4
Merge pull request #14252 from tjdevries/tjdevries/ts_query_overrides
...
ts: Add per-language query overriding
2021-03-31 17:59:42 +02:00
Michael Lingelbach
db47cf8153
Merge pull request #14233 from mjlbach/disable_utf16_conversion
...
lsp: use utf-8 when utf-16 not requested
2021-03-30 14:37:55 -07:00
Michael Lingelbach
0cadab1412
lsp: use utf-8 when utf-16 not requested
2021-03-30 14:14:09 -07:00
TJ DeVries
240cec9192
ts: Add language version to vim.treesitter ( #14255 )
2021-03-30 16:40:29 -04:00
TJ DeVries
04fb94cd80
ts: Add per-language query overriding
2021-03-30 08:25:11 -04:00
Michael Lingelbach
32cf278a19
lsp: fix utf-16 ranges to use second return value for incremental sync
2021-03-28 02:22:13 -07:00
Michael Lingelbach
b79596eb5e
Merge pull request #14231 from mjlbach/fix_utf16_ranges
...
lsp: fix utf16 ranges for incremental sync
2021-03-27 19:02:48 -07:00
Michael Lingelbach
af683fdb57
lsp: fix utf16 ranges for incremental sync
2021-03-27 18:31:29 -07:00
Steven Sojka
98f9df253e
fix(treesitter): check highlight queries exist
2021-03-26 11:25:19 -05:00
Steven Sojka
2a794b8f5d
fix(treesitter): dedupe runtime file list
2021-03-23 12:58:27 -05:00
Michael Lingelbach
9f5c8226bb
Merge pull request #14186 from mjlbach/feature/make_signature_help_beautiful
...
lsp: add syntax highlighting to signature help
2021-03-23 09:38:21 -07:00
Michael Lingelbach
3113d4befa
lsp: add syntax highlighting to signature help
2021-03-22 10:57:21 -07:00
TJ DeVries
875979ec3f
lsp: Unopened buffers return 0 for line count, which leads to broken positions
2021-03-22 10:22:23 -04:00
TJ DeVries
880fb0d146
lsp: Force re-display of diagnostics when opening a file
2021-03-22 10:21:56 -04:00
Vincent Rischmann
24ad2c7067
runtime/lua/vim/lsp: check emptyness in get_completion_word
2021-03-21 00:30:01 +01:00
Michael Lingelbach
2358e52fc4
lsp: set syntax instead of filetype for preview location highlighting
2021-03-19 12:55:58 -07:00
Mathias Fussenegger
84213b5b9a
lsp: Add support for delete workspaceEdit resource operation
2021-03-18 19:53:43 +01:00
Mathias Fussenegger
191afb42be
lsp: Add support for create workspaceEdit resource operation
2021-03-18 19:53:42 +01:00
Mathias Fussenegger
5e401b693b
lsp: Add support for file rename via workspaceEdit
2021-03-18 19:53:14 +01:00
Matthieu Coudron
0ab88c2ea8
Merge pull request #14145 from teto/remove-tshighlighter
...
chore: remove deprecated lua module tshighlighter
2021-03-16 18:44:41 +01:00
Matthieu Coudron
b540141876
chore: remove deprecated lua module tshighlighter
2021-03-16 01:41:28 +01:00
Michael Lingelbach
054eb31dc7
Merge pull request #14098 from mjlbach/fix_highlighting_lsp_markdown
...
lsp: fix highlighting for lsp markdown code blocks
2021-03-15 10:28:05 -07:00
Mathias Fussenegger
16827817bb
lsp: Use incremental sync by default
...
With the new implementation added in
https://github.com/neovim/neovim/pull/14079 I think this is now working
well enough to enable it by default.
There are high CPU usage issues popping up now and then and they might
at least partially be related to the full-text sync.
2021-03-11 20:13:52 +01:00
Michael Lingelbach
6b7cde3dd0
lsp: fix highlighting for lsp markdown code blocks
2021-03-10 17:26:22 -08:00
Michael Lingelbach
4ed860a64c
Merge pull request #14073 from mjlbach/feature/syntax_highlight_rule
...
lsp: add custom syntax rule for floating window
2021-03-10 14:15:24 -08:00
Josa Gesell
d1074e0077
lsp: Resolve codeLense server capabilities ( #14056 )
2021-03-10 17:02:09 -05:00
TJ DeVries
564dd7d8db
lsp: get_language_id ( #14092 )
...
* Allow specifying a languageId for a lsp
For some languages the filetype might not match the languageId the
language server accepts. In these cases the config for the language
server can contain a function which gets the current buffer and filetype
and returns a languageId. When it isn't provided the filetype is used
instead.
Example:
```lua
require'lspconfig'.sourcekit.setup{
get_language_id = function(bufnr, ft)
return 'swift'
end;
}
```
Closes #13093
* lsp: Change to get_language_id
Co-authored-by: Jan Dammshäuser <mail@jandamm.de>
2021-03-10 16:53:23 -05:00
Michael Lingelbach
53414555eb
lsp: fix endline such that it cannot point outside the buffer range
2021-03-10 09:17:20 -08:00
Michael Lingelbach
d49177afd9
lsp: add custom syntax rules for lsp floating window
2021-03-09 21:15:10 -08:00
Michael Lingelbach
e4e51c69d7
lsp: add incremental text synchronization
...
* Implementation derived from and validated by vim-lsc authored by Nate
Bosch
2021-03-09 20:14:08 -08:00
Matthieu Coudron
5c4fbe34f9
Merge pull request #13993 from teto/gendoc
...
improve vimdoc generation
2021-03-07 17:20:09 +01:00