Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | | vim.validate(): include stacktrace in message | TJ DeVries | 2020-10-05 | |
| |/ | ||||
* | | treesitter: allow multiple highlighters per buffer | Thomas Vigouroux | 2020-10-12 | |
| | | ||||
* | | treesitter: allow custom parser for highlighter | Thomas Vigouroux | 2020-10-12 | |
| | | | | | | | | | | | | | | | | | | | | | | Also allow to get parser ranges. This will be useful for language injection, allowing us to tweak the parser's ranges on the fly. Update runtime/lua/vim/treesitter.lua Co-authored-by: Paul Burlumi <paul@burlumi.com> | |||
* | | treesitter: runtime queries | Thomas Vigouroux | 2020-10-11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Runtime queries just work like ftplugins, that is: - Queries in the `after` directory are sourced _after_ the "base" query - Otherwise, the last define query takes precedence. Queries can be found in the `queries` directory. Update runtime/lua/vim/treesitter/query.lua Co-authored-by: Paul Burlumi <paul@burlumi.com> | |||
* | | api: multiple decoration providers at once | Björn Linse | 2020-10-10 | |
|/ | ||||
* | LSP: Fix separator width on hover (fixes #13006, #12998) (#13007) | Christian Clason | 2020-09-30 | |
| | | | | * fix insert_separator conditional * only draw separator over wrapped width | |||
* | treesitter: add string parser (#13008) | Thomas Vigouroux | 2020-09-30 | |
| | ||||
* | lsp: Add vim.lsp.buf.range_code_action() (#12962) | notomo | 2020-09-24 | |
| | | | | | Allows to execute code_action for a given range. :'<,'>lua vim.lsp.buf.range_code_action() | |||
* | lsp: Handle ContentModified the same way as RequestCancelled (#12803) | Rasmus Ishøy Michelsen | 2020-09-22 | |
| | | | | | * Added the ContentModified error to be hidden from users, like RequestCancelled * Fixed tests (and ill-formed lua code) * Simplified if-expression | |||
* | lsp: remove popup No signature available. (#12915) | Raphael | 2020-09-18 | |
| | | | | | | | | | | | | * lsp: remove popup No signature available. If no signatures. we shouldn't popup No signature available ..It will make noise when use ` api.nvim_command("autocmd CompleteDone <buffer> lua vim.lsp.buf.signature_help()")` * fix ci test failed remove whitespace * print message when no signature help * Add comment | |||
* | lsp: fix failed switch window error (#12900) | Raphael | 2020-09-14 | |
| | | | | | * fix failed switch window error * checks if window already exists | |||
* | doc: Add docs for uri functions (#12887) | TJ DeVries | 2020-09-14 | |
| | ||||
* | luahl: global the luahl | Björn Linse | 2020-09-13 | |
| | ||||
* | fix: use luahl in treesitter | Thomas Vigouroux | 2020-09-13 | |
| | ||||
* | lsp: fix lsp.buf.formatting_sync() null response (#12752) | beardedsakimonkey | 2020-09-12 | |
| | | | Co-authored-by: tim apple <tim@tims-MacBook-Pro.local> | |||
* | lsp: Fix parameter markdown rendering for signature help (#12832) | Xuyuan Pang | 2020-09-12 | |
| | ||||
* | wip trying to fix the highlighter | Thomas Vigouroux | 2020-09-09 | |
| | ||||
* | treesitter: use new on_bytes interface | Björn Linse | 2020-09-09 | |
| | | | | | | | | | | This will significantly reduce the parsing work needed e.g. when rehighlighting after every keypress in insert mode. Also add safety check for tree-sitter trying to read past the end of a line. This can happen after we sent an incorrect buffer update. | |||
* | treesitter: revert wrong optimization in highlights | Thomas Vigouroux | 2020-09-09 | |
| | ||||
* | Merge pull request #12858 from kyazdani42/fix/no-ts-hl-without-query-value | Thomas Vigouroux | 2020-09-06 | |
|\ | | | | | treesitter: check hl group exists before passing it in nvim_get_hl_id_by_name | |||
| * | apply bfredl suggestion | kiyan42 | 2020-09-06 | |
| | | ||||
| * | treesitter: check hl group exists before passing it in nvim_get_hl_id_by_name | kiyan42 | 2020-09-05 | |
| | | ||||
* | | lint: just bit twiddlin' | Björn Linse | 2020-09-06 | |
| | | ||||
* | | treesitter: simplify match_preds | Thomas Vigouroux | 2020-09-06 | |
| | | ||||
* | | treesitter: use lua-match? instead of match? | Thomas Vigouroux | 2020-09-06 | |
| | | ||||
* | | fix(highlight): compare rows vs columns in range highlight check (#12852) | Steven Sojka | 2020-09-05 | |
|/ | ||||
* | Merge pull request #12847 from nvim-treesitter/ts-list-predicates | Björn Linse | 2020-09-04 | |
|\ | | | | | treesitter: allow to list supported predicates | |||
| * | treesitter: allow to list supported predicates | Thomas Vigouroux | 2020-09-04 | |
| | | ||||
* | | treesitter: update to use buf_set_extmark | Thomas Vigouroux | 2020-09-03 | |
|/ | ||||
* | Merge #12468 'lsp: logging' | Justin M. Keyes | 2020-09-01 | |
|\ | ||||
| * | lsp: add key name to the output log value | Hirokazu Hata | 2020-08-26 | |
| | | | | | | | | Unless we look at the code every time, we will not know what the value is, so add the key name. | |||
| * | lsp: remove output log at rpc.notify | Hirokazu Hata | 2020-08-26 | |
| | | | | | | | | Since "rpc.send.payload" outputs the log with almost the same contents, delete the output here. | |||
* | | lsp/make_position_param(): handle empty buffer #12825 | Gıyaseddin Tanrıkulu | 2020-09-01 | |
| | | | | | | | | | | | | | | | | | | | | | | Fix #12623 problem: nvim_buf_get_lines(0) returns empty during startup, where no buffers are loaded yet. solution: return empty object Happens during startup, where buffer may not be loaded yet, because... `source_startup_scripts()` is done before `edit_buffers()`: https://github.com/neovim/neovim/blob/9bb552875d205d2f869c66137563f93b77a6d08e/src/nvim/main.c#L362 https://github.com/neovim/neovim/blob/9bb552875d205d2f869c66137563f93b77a6d08e/src/nvim/main.c#L480 | |||
* | | treesitter: avoid escaping complete query strings | Stephan Seitz | 2020-08-31 | |
| | | | | | | | | | | Escape "\\" only for `vim-match?` not for `match?` Fixes #12595 | |||
* | | docs, remove 'guifontset' #11708 | Justin M. Keyes | 2020-08-31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - remove redundant autocmd list This "grouped" list is useless, it only gets in the way when searching for event names. - intro.txt: cleanup - starting.txt: update, revisit - doc: `:help bisect` - mbyte.txt: update aliases 1656367b90bd. closes #11960 - options: remove 'guifontset'. Why: - It is complicated and is used by almost no one. - It is unlikely to be implemented by Nvim GUIs (complicated to parse, specific to Xorg...). | |||
* | | lsp: Fix bad sortText comparison (#12485) | Anmol Sethi | 2020-08-30 | |
|/ | | | | | | The spec indicates we have to fallback to comparing by label if sortText is falsy. Closes #12431 | |||
* | Add FIXMEs | Patrice Peterson | 2020-08-23 | |
| | ||||
* | Add docs for most vim.lsp methods | Patrice Peterson | 2020-08-23 | |
| | | | | Most of the lsp.log will be addressed in a separate PR. | |||
* | Merge pull request #12739 from vigoux/ts-refactor-predicates | TJ DeVries | 2020-08-14 | |
|\ | | | | | treesitter: refactor | |||
| * | treesitter: allow to force predicate addition | Thomas Vigouroux | 2020-08-13 | |
| | | ||||
| * | treesitter: add predicate negation | Thomas Vigouroux | 2020-08-13 | |
| | | ||||
| * | treesitter: add and test vim-match? predicate | Thomas Vigouroux | 2020-08-13 | |
| | | ||||
| * | treesitter: add contains? predicate | Thomas Vigouroux | 2020-08-13 | |
| | | ||||
| * | treesitter(docs): update and refresh docs | Thomas Vigouroux | 2020-08-13 | |
| | | ||||
| * | treesitter: refactor and use lua regexes | Thomas Vigouroux | 2020-08-13 | |
| | | ||||
* | | Remove unused function (#12719) | Patrice Peterson | 2020-08-08 | |
|/ | ||||
* | Revert "lsp: Fix text edits with the same start position (#12434)" (#12564) | Andreas Johansson | 2020-07-30 | |
| | | | This reverts commit 44fe8828f06a22bc9aa3617a6fd8aae447a838de. | |||
* | Make the window `nomodifiable` when it's created | Cédric Barreteau | 2020-07-20 | |
| | ||||
* | LSP: make the hover window nomodifiable | Cédric Barreteau | 2020-07-20 | |
| | ||||
* | doc: Add documentation for some `vim.lsp.buf` functions (#12552) | cbarrete | 2020-07-19 | |
| | | | | | | | | | * Add documentation for some `vim.lsp.buf` functions * Add inline Lua documentation * Use generated documentation for LSP buffer functions Co-authored-by: Cédric Barreteau <> |