aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* Merge pull request #13784 from runiq/get_extmark_by_id-limit_breakThomas Vigouroux2021-01-28
|\ | | | | doc: remove nvim_buf_get_extmark_by_id limit opt
| * doc: remove nvim_buf_get_extmark_by_id limit optPatrice Peterson2021-01-18
| | | | | | | | Passing any key but `details` in the opts results in an error.
* | Merge pull request #13820 from janlazo/vim-8.2.2392Jan Edmund Lazo2021-01-25
|\ \ | | | | | | vim-patch:8.2.{2392,2399,2402}
| * | vim-patch:8.2.2402: some filetypes not detectedJan Edmund Lazo2021-01-24
| | | | | | | | | | | | | | | | | | Problem: Some filetypes not detected. Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns) https://github.com/vim/vim/commit/8323cab31c3120a7f80cf3271a506a30ec04d99e
| * | vim-patch:8.2.2392: fennel filetype not recognizedJan Edmund Lazo2021-01-24
| | | | | | | | | | | | | | | | | | Problem: Fennel filetype not recognized. Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes vim/vim#7729) https://github.com/vim/vim/commit/402115f1c2b4d0704a822206f2e6e931e721c129
* | | lsp: match textDocument/didChange eol behavior (#13792)Michael Lingelbach2021-01-25
|/ / | | | | We should be consistent in sending the EOL character to servers(I think). Julia expects this to match on bufwrite, or it crashes when vim appends the newline during the write process.
* | Merge pull request #13807 from spywhere/min-size-auto-signMatthieu Coudron2021-01-23
|\ \ | | | | | | Auto sign column with minimum size support
| * | opt: update docs on signnumber (#13783)Sirisak Lueangsaksri2021-01-20
| | |
* | | Doc: Generate API docs for buf_set_extmark gravityPatrice Peterson2021-01-23
| | | | | | | | | | | | Cf. #13679
* | | lsp: clear diagnostics on client shutdown (#13788)Michael Lingelbach2021-01-23
| | |
* | | vim-patch:8.2.2384: turtle filetype not recognizedJan Edmund Lazo2021-01-21
| | | | | | | | | | | | | | | | | | Problem: Turtle filetype not recognized. Solution: Add a rule to detect turtle files. (closes vim/vim#7722) https://github.com/vim/vim/commit/5e6a7aa2b26077775906eb8411952dc6259694de
* | | api: nvim_echonotomo2021-01-20
|/ /
* | fix(languagetree): use tree nodes instead of regions in containsSteven Sojka2021-01-20
| |
* | Merge pull request #13765 from jvgrootveld/ts-default-start-end-row-on-captureThomas Vigouroux2021-01-20
|\ \ | | | | | | treesitter: default start and end row when omitted
| * | treesitter: Fix linter warning and add helper function to remove duplicated ↵“jvgrootveld”2021-01-18
| | | | | | | | | | | | | | | | | | | | | logic This function returns the start and stop value if set else the node's range is used When the node's range is used, the stop is incremented by 1 to make the search inclusive
| * | treesitter: default start and end row when omitted“jvgrootveld”2021-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for default start and end row when omitted in the query:iter_captures and query:iter_matches functions. When the start and end row values are omitted, the values of the given node is used. The end row value is incremented by 1 to include the node end row in the match. Updated tests and docs accordingly.
* | | lsp: remove duplicate settings validation (#13789)Michael Lingelbach2021-01-18
| | |
* | | lsp: validate and document server settings (#13698)Michael Lingelbach2021-01-18
| | | | | | | | | | | | * update lua documentation * run docgen
* | | LSP: Fix nil settings handling in workspace/configuration (#13708)Mathias Fußenegger2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | The `workspace/configuration` handler could fail with the following error if `config.settings` is nil: runtime/lua/vim/lsp/util.lua:1432: attempt to index local 'settings' (a nil value)" This ensures that `config.settings` is always initialized to an empty table.
* | | Update nvim.appdata.xml to reflect version 0.4.4 (#13754)Maltimore2021-01-18
| |/ |/| | | Set release date based on commit ee77d8665ffe327a2158354021bbbcb772b3521a
* | LSP: Add in clientInfo to initalize_params. (#13757)Chris Kipp2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | * Add in clienInfo to initalize_params. Some servers (like Metals in my case) will actually pull this info from the initalize_params and display it in the logs. I know from the server perspective it helps at times to have this available to pull from to have more details about the client and version. You can see that this is part of the spec here: microsoft.github.io/language-server-protocol/specification#initialize
* | lsp: add client/registerCapability handler (#13780)Michael Lingelbach2021-01-18
| | | | | | Until we support dynamicRegistration, we should handle the client/registerCapability in core. There are still some language servers that send this request despite dynamicRegistration not being registered client-side (we got an upstream fix for the node ones, but this depends on them bumping vscode-languageserver-node).
* | api: add vim.version (#13762)Michael Lingelbach2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | retrun a structured version dict :lua print(vim.inspect(vim.version())) { api_compatible = 0, api_level = 7, api_prerelease = true, major = 0, minor = 5, patch = 0 }
* | vim-patch:8.2.2366: when using ":sleep" the cursor is always displayedJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | Problem: When using ":sleep" the cursor is always displayed. Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, closes vim/vim#7688) https://github.com/vim/vim/commit/e2edc2ed4a9a229870b1e1811b0ecf045b84e429 Cursor showing/hiding is moved from core to TUI. ":sleep!" behaves the same as ":sleep".
* | vim-patch:8.2.2353: spartql files are not detectedJan Edmund Lazo2021-01-17
| | | | | | | | | | | | Problem: Spartql files are not detected. Solution: Add the sparql filetype. (closes vim/vim#7679) https://github.com/vim/vim/commit/17d015b2438e51d4d42d72720611d16c772cc4bb
* | log.c: warn instead of error on failed stdpath('cache') creationMichael Lingelbach2021-01-16
| |
* | logs: make kXDGCacheHome if it doesn't exist (#13758)Michael Lingelbach2021-01-16
|/
* Merge pull request #13750 from janlazo/vim-8.2.2329Jan Edmund Lazo2021-01-14
|\ | | | | vim-patch:8.2.{2329,2334}
| * vim-patch:8.2.2334: Pascal-like filetypes not always detectedJan Edmund Lazo2021-01-13
| | | | | | | | | | | | | | Problem: Pascal-like filetypes not always detected. Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns, closes vim/vim#7662) https://github.com/vim/vim/commit/a0122dcd1cc9e9bb62c071a9b91426a8bce4f8d9
* | fix(treesitter): use source() method on attachThomas Vigouroux2021-01-14
| | | | | | | | | | Fixes an issue that tree-sitter always attached to the current buffer, instead of the provided buffer.
* | logging: move to XDG_CACHE_HOME (#13739)Michael Lingelbach2021-01-13
|/ | | | | while there is some controversy, stdpath('cache') looks like a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.
* lsp: fix on_attach signature documentation (#13723)Michael Lingelbach2021-01-12
| | | * trim trailing whitespace from docs
* lsp: remove references to LspInstall (#13738)Michael Lingelbach2021-01-12
| | | and adjust sumneko setup instructions
* lsp: Add severity_limit for other diagnostics features (#13528)TJ DeVries2021-01-12
| | | | | | | | | | | * lsp: Add severity_limit for other diagnostics * docs and tests * fix: lint * Add to other types * fix: lint
* fix(lsp): Allow subsequent text document edits to pass (#13534)TJ DeVries2021-01-11
| | | | | | | * fix: Allow subsequent text document edits to pass * fixup: cleaner code * add tests
* Merge pull request #13439 from shade-of-noon/man-iskeywordJames McCoy2021-01-11
|\ | | | | [RDY] man.vim: Set iskeyword explicitly.
| * man.vim: Add double click mapping.Edwin Pujols2020-12-09
| |
| * man.vim: Set iskeyword explicitly.Edwin Pujols2020-12-04
| | | | | | | | | | This also fixes `:Man!`, which wasn't setting 'iskeyword' to contain parentheses, etc.
* | runtime/elm: acc224064033e5cea21ef7f1eefb356ca06ff11d (#13718)Dimitar Apostolov2021-01-08
| | | | | | | | | | Port ftplugin, syntax and indent Elm files. Ref: #13193
* | Merge pull request #13689 from janlazo/vim-8.2.0050Matthieu Coudron2021-01-06
|\ \ | | | | | | vim-patch:8.1.{1731,1764,2111,2126},8.2.{50,590}
| * | vim-patch:8.2.0590: no 'backspace' value allows ignoring the insertion pointJan Edmund Lazo2021-01-05
| | | | | | | | | | | | | | | | | | Problem: No 'backspace' value allows ignoring the insertion point. Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes vim/vim#5940) https://github.com/vim/vim/commit/aa0489e12d227d24752cf16e4e97058ac32edcc1
* | | LSP: Add diagnostic tags to client capabilities (#13578)Timmy Xiao2021-01-05
|/ / | | | | pyright (possibly others) does not send any hint diagnostics if we do not have tagSupport in PublishDiagnosticsClientCapabilities. This PR just adds them.
* | remove trailing tabsPatrik Wenger2021-01-04
| |
* | treesitter: simplify query reading logicBjörn Linse2021-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the plugin/package manager should "manage" after/. Consumers of nvim_get_runtime_file() should not need to special case it (if your plugin manager is broken then fix it instead). Don't use vim.fn.readfile(). Lua can already read files. It is even better at it than vim script. expose M.get_query_files(). Listing the queries is essential for user config debug, and let plugins do fun things with it. Abstraction-by-obscurity is not useful (plugins can just cargo cult copy the code anyway, better with public entry points).
* | vim-patch:8.2.0861: cannot easily get all the current marks (#13676)Jan Edmund Lazo2021-01-03
| | | | | | | | | | | | | | | | | | | | | | Problem: Cannot easily get all the current marks. Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032) https://github.com/vim/vim/commit/cfb4b47de08e4437c692d382067dc1692cd83c23 Cherry-pick the column number fix from patch v8.2.0871 because patch v8.2.0871 cannot be fully ported without the method patches. Co-authored-by: Peter Wolf <pwolf2310@gmail.com>
* | LSP: fix messageRequest to not return nested title (#13674)Michael Lingelbach2021-01-03
| | | | | | | | | | * LSP: fix window/showMessageRequest to not return nested title * Add window/showMessageRequest handler to docs
* | vim-patch:8.2.0917: quickfix entries do not suport a "note" typeJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | Problem: Quickfix entries do not suport a "note" type. Solution: Add support for "note". (partly by Yegappan Lakshmanan, closes vim/vim#5527, closes vim/vim#6216) https://github.com/vim/vim/commit/e928366de5deca359fad779a4f740db703296302
* | Merge pull request #13649 from mjlbach/move_from_nvim-lspconfigMatthieu Coudron2021-01-01
|\ \ | | | | | | LSP: Move workspace/configuration from nvim-lspconfig to core
| * | LSP: Move workspace/configuration handler from nvim-lspconfig to coreMichael Lingelbach2021-01-01
| | |
| * | LSP: Add helper function from accessing language server settings from ↵Michael Lingelbach2021-01-01
| | | | | | | | | | | | nvim-lspconfig