aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
| * | vim-patch:060107c: runtime(doc): fix typo in g:termdebug_config (#31155)zeertzjq2024-11-10
| | | | | | | | | | | | | | | closes: vim/vim#16023 https://github.com/vim/vim/commit/060107cbc40a68b30d81e5531a1c8dde91fc9b59
| * | vim-patch:8e6b503: runtime(tex): add Number highlighting to syntax fileChristian Clason2024-11-10
| | | | | | | | | | | | | | | | | | | | | | | | closes: vim/vim#11271 https://github.com/vim/vim/commit/8e6b5034f32049fd0f1447c85ab71d47f49a820a Co-authored-by: amarakon <amar.al-zubaidi45@tutanota.com>
| * | vim-patch:a14c457: runtime(dune): use :setl instead of :set in ftpluginChristian Clason2024-11-10
| | | | | | | | | | | | | | | | | | | | | | | | closes: vim/vim#11419 https://github.com/vim/vim/commit/a14c457cad99621db7950b78e7d257c300b7d897 Co-authored-by: Dani Dickstein <daniel.dickstein@gmail.com>
| * | refactor(lsp): simplify reference range logicRiley Bruins2024-11-10
| | |
| * | vim-patch:bbe5252: runtime(vim): Update base-syntax, improve :normal ↵zeertzjq2024-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | highlighting Fix command name termination, match bang, and allow a line-continued argument. closes: vim/vim#15358 https://github.com/vim/vim/commit/bbe5252c2c2a6a49c794719a894ab10cdafebc62 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
| * | vim-patch:818c641: runtime(vim): Update base-syntax file, improve class, ↵zeertzjq2024-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | enum and interface highlighting - Enable folding of class, enum and interface declarations. - Highlight constructor names with the Function highlight group, like other special methods. - Mark function definitions using special method names as errors. - Highlight :type arguments. fixes: vim/vim#14393#issuecomment-2042796198. closes: vim/vim#13810 https://github.com/vim/vim/commit/818c641b6fac73b574a2b760213f515cee9a3c8e Co-authored-by: Doug Kearns <dougkearns@gmail.com>
| * | vim-patch:80aabaa: runtime(vim): Distinguish Vim9 builtin object methods ↵zeertzjq2024-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from namesake builtin functions (vim/vim#14348) Currently, the overriding object method definitions are matched as vimFunctionError (:help builtin-object-methods, v9.1.0148). For example: ------------------------------------------------------------ vim9script class Test def string(): string return "Test" enddef endclass echo string(Test.new()) == Test.new().string() ------------------------------------------------------------ Instead, let's introduce a new syntax group vimMethodName and make these methods its members. In order to emphasise the link between the overriding methods and the overridden functions for highlighting, vimMethodName is linked by default to vimFuncName. https://github.com/vim/vim/commit/80aabaab6636faa7cec461acc4b1fcc3a4c89376 Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
| * | vim-patch:dfcef89: runtime(vim): Distinguish Vim9 constructor definitions ↵zeertzjq2024-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the :new ex command (vim/vim#14050) With the arrival of Vim9 classes, the syntax must allow for _new_ constructors; multiple constructor definitions are supported for a class, provided distinct suffix-names are used. Currently, the defined constructors match either vimCommand or vimFunctionError (for any newBar). For example: ------------------------------------------------------------ vim9script class Foo def new() enddef def newBar() enddef endclass ------------------------------------------------------------ Since every constructor is required to bear a lower-cased _new_ prefix name, it should suffice to distinguish them from functions, and so there are no new highlight or syntax groups introduced. https://github.com/vim/vim/commit/dfcef890cbdd3ec26de040b2e26d77444dc46862 Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
| * | vim-patch:5e7f43b: runtime(termdebug): allow to use decimal signs (#31149)zeertzjq2024-11-10
| | | | | | | | | | | | | | | | | | | | | | | | closes: vim/vim#16011 https://github.com/vim/vim/commit/5e7f43b6ac2ac23d4fbfded75827a13f981d9a96 Co-authored-by: Ella Moss <ella.moss@utah.edu> Co-authored-by: Christian Brabandt <cb@256bit.org>
| * | vim-patch:partial:624bb83: runtime(doc): Tweak documentation style a bit ↵zeertzjq2024-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#31148) closes: vim/vim#11419 https://github.com/vim/vim/commit/624bb83619cbd685b1902b016ca3ececfc1c135c Skip syncolor.vim and v:colornames Co-authored-by: h-east <h.east.727@gmail.com>
| * | fix(lsp): fix infinite loopLewis Russell2024-11-09
| | | | | | | | | | | | Fixes #31129
| * | vim-patch:0f60fbf: runtime(compiler): improve cppcheckzeertzjq2024-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Properly escape the values for makeprg according to the :set rules closes: vim/vim#16014 https://github.com/vim/vim/commit/0f60fbf6796b72111184a6734b702a93f8f8944b Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
| * | vim-patch:39f52a6: runtime(structurizr): Update structurizr syntaxzeertzjq2024-11-09
| | | | | | | | | | | | | | | | | | | | | | | | closes: vim/vim#16003 https://github.com/vim/vim/commit/39f52a62492086acef1e9dbd71e344447954deb5 Co-authored-by: Duke <emersonalmeidax@gmail.com>
| * | vim-patch:6e410c9: runtime(8th): updated 8th syntaxzeertzjq2024-11-09
| | | | | | | | | | | | | | | | | | | | | | | | closes: vim/vim#16005 https://github.com/vim/vim/commit/6e410c9112497206c12330ab8a827b9d061579a9 Co-authored-by: Ron Aaron <ron@aaron-tech.com>
| * | vim-patch:6d9a145: runtime(compiler): add mypy and ruff compiler; update ↵zeertzjq2024-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pylint linter mypy and ruff come from https://github.com/Konfekt/vim-compilers/tree/master/compiler and the former was added by @pbnj-dragon closes: vim/vim#16007 https://github.com/vim/vim/commit/6d9a145d719857fe461d045adf3b61ec4b4bb53f Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
| * | vim-patch:64a536d: runtime(netrw): fix several bugs in netrw tree listingzeertzjq2024-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes: vim/vim#5630 fixes: vim/vim#9807 fixes: vim/vim#14623 closes: vim/vim#15996 https://github.com/vim/vim/commit/64a536d4fa17ec176f574a01543e483a163622eb Co-authored-by: Tom Benham <tom.benham13@gmail.com>
| * | vim-patch:a063b22: runtime(netrw): prevent polluting the search historyzeertzjq2024-11-09
| | | | | | | | | | | | | | | | | | https://github.com/vim/vim/commit/a063b22b3bbc1c7ad9d985b14d6e3c5b7c6e3eca Co-authored-by: Christian Brabandt <cb@256bit.org>
| * | vim-patch:3780c11: runtime(compiler): fix typo in cppcheck compiler pluginzeertzjq2024-11-09
| | | | | | | | | | | | | | | | | | | | | | | | closes: vim/vim#16002 https://github.com/vim/vim/commit/3780c11267415ff57f261fcd3e1dea0c2c9d8dd0 Co-authored-by: Enno <Konfekt@users.noreply.github.com>
| * | docs: misc (#30914)dundargoc2024-11-09
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Ernie Rael <errael@raelity.com> Co-authored-by: Famiu Haque <famiuhaque@proton.me> Co-authored-by: Jade <spacey-sooty@proton.me> Co-authored-by: glepnir <glephunter@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
| * | fix(vim.system): resolve executable paths on windowsLewis Russell2024-11-08
| | | | | | | | | | | | Fixes #31107
| * | perf(lsp): do not apply semantic tokens to folded linesLewis Russell2024-11-08
| |/ | | | | | | Fixes #31106
| * vim-patch:9.1.0839: filetype: leo files are not recognizedChristian Clason2024-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: filetype: leo files are not recognized Solution: detect '*.leo' files as leo filetype, include a filetype plugin (Riley Bruins) References: https://github.com/ProvableHQ/leo closes: vim/vim#15988 https://github.com/vim/vim/commit/93f65a4ab8168c766e4d3794607762b52762ef82 Co-authored-by: Riley Bruins <ribru17@hotmail.com>
| * vim-patch:9.1.0840: filetype: idris2 files are not recognizedChristian Clason2024-11-05
| | | | | | | | | | | | | | | | | | | | | | | | Problem: filetype: idris2 files are not recognized Solution: detect '*.idr' files as idris2, '*.lidr' files as lidris2 and '*.ipkg' files as ipkg filetype (Serhii Khoma) closes: vim/vim#15987 https://github.com/vim/vim/commit/c04bc64ba61f2386fafb086b47f16f122a0c779a Co-authored-by: Serhii Khoma <srghma@gmail.com>
| * vim-patch:59834ba: runtime(matchparen): Add matchparen_disable_cursor_hl ↵Christian Clason2024-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | config option Set the "matchparen_disable_cursor_hl" config variable to disable highlighting the cursor with the MatchParen highlighting group. closes: vim/vim#15984 https://github.com/vim/vim/commit/59834ba6df10dc48565bf55ac6c8e8a4aa40210b Co-authored-by: Matteo Landi <matteo@matteolandi.net>
| * vim-patch:19bc76c: runtime(cook): include cook filetype pluginChristian Clason2024-11-05
| | | | | | | | | | | | | | | | | | | | | | References: https://github.com/cooklang/spec?tab=readme-ov-file#comments closes: vim/vim#15989 https://github.com/vim/vim/commit/19bc76c929a9d3f87d4ea932ba5c540bcd6023ee Co-authored-by: Riley Bruins <ribru17@hotmail.com>
| * vim-patch:9dadfe7: runtime(debversions): Update Debian versionsChristian Clason2024-11-05
| | | | | | | | | | | | | | | | | | | | | | | | - Move mantic to unsupported - Reorder names to maintain alphabetic order - Bump date to submit upstream closes: vim/vim#15991 https://github.com/vim/vim/commit/9dadfe7a5205180941dbce3648a00422d32bb63d Co-authored-by: James McCoy <jamessan@jamessan.com>
| * feat(defaults): unimpaired empty line below/above cursor #30984Yochem van Rosmalen2024-11-04
| |
| * feat(options)!: disallow setting hidden options #28400Famiu Haque2024-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: There are three different ways of marking an option as hidden, `enable_if = false`, `hidden = true` and `immutable = true`. These also have different behaviors. Options hidden with `enable_if = false` can't have their value fetched using Vim script or the API, but options hidden with `hidden = true` or `immutable = true` can. On the other hand, options with `hidden = true` do not error when trying to set their value, but options with `immutable = true` do. Solution: Remove `enable_if = false`, remove the `hidden` property for options, and use `immutable = true` to mark an option as hidden instead. Also make hidden option variable pointers always point to the default value, which allows fetching the value of every hidden option using Vim script and the API. This does also mean that trying to set a hidden option will now give an error instead of just being ignored.
| * feat(lsp): multi-client support for signature_helpLewis Russell2024-11-04
| | | | | | | | | | Signatures can be cycled using `<C-s>` when the user enters the floating window.
| * fix(treesitter): close InspectTree/EditQuery window on BufUnload (#31036)zeertzjq2024-11-03
| | | | | | | | | | | | Problem: The window opened :InspectTree or :EditQuery isn't closed when the source buffer is unloaded, even though it is closed when the buffer is hidden. Solution: Also close the window on BufUnload.
| * vim-patch:9.1.0831: 'findexpr' can't be used as lambad or Funcref (#31058)zeertzjq2024-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'findexpr' can't be used for lambads (Justin Keyes) Solution: Replace the findexpr option with the findfunc option (Yegappan Lakshmanan) related: vim/vim#15905 closes: vim/vim#15976 https://github.com/vim/vim/commit/a13f3a4f5de9c150f70298850e34747838904995 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| * vim-patch:a95d6a3: runtime(doc): remove stray sentence in pi_netrw.txt (#31053)zeertzjq2024-11-03
| | | | | | | | | | | | | | closes: vim/vim#15971 https://github.com/vim/vim/commit/a95d6a3d641dd065cccb1e76863dd3450ee5ce04 Co-authored-by: S. B. Tam <cpplearner@outlook.com>
| * fix(health): better layout of vim.treesitter health checkChristian Clason2024-11-02
| | | | | | | | | | | | | | | | Problem: Long lists of available parsers make it hard to see WASM status. Solution: Add separate headings for "treesitter features" (ABI, WASM) and "treesitter parsers". Also add minimum supported ABI version.
| * vim-patch:9.1.0826: filetype: sway files are not recognizedChristian Clason2024-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: filetype: sway files are not recognized Solution: detect '*.sw' files as sway filetype, include a filetype plugin (Riley Bruins) References: https://github.com/FuelLabs/sway. Comments taken from their syntax documentation. File extension taken from the same documentation/GitHub's own recognition of these file types closes: vim/vim#15973 https://github.com/vim/vim/commit/84b5b1c660beb2f9e27de70687e41d39a023ae81 Co-authored-by: Riley Bruins <ribru17@hotmail.com>
| * vim-patch:d181baf: runtime(typst): synchronize updates from the upstream ↵Christian Clason2024-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | typst.vim 2 commits included from the upstream: - https://github.com/kaarmu/typst.vim/commit/2a4a0e0662f2f882403af7200b4249c564a621ab - https://github.com/kaarmu/typst.vim/commit/50e89f481102d5c9ef6990b9f8086c0c7d64bff6 https://github.com/vim/vim/commit/d181bafd0bb53f3caaf15a95a329a31d8208206b Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
| * fix(lua): show stacktrace for error in vim.on_key() callback (#31021)zeertzjq2024-11-02
| |
| * vim-patch:26113e5: runtime(doc): Include netrw-gp in TOC (#31032)zeertzjq2024-11-02
| | | | | | | | | | | | | | closes: vim/vim#7627 https://github.com/vim/vim/commit/26113e5ae3c4762ab718d5f006afa71f67e6f459 Co-authored-by: Ernesto Elsäßer <ernesto.elsaesser@me.com>
| * vim-patch:b5e7da1: runtime(doc): mention 'iskeyword' at :h charclass() (#31026)zeertzjq2024-11-01
| | | | | | | | | | | | | | fixes: vim/vim#15965 https://github.com/vim/vim/commit/b5e7da1f27241f7d770d342009e2fb443e45e6ce Co-authored-by: Christian Brabandt <cb@256bit.org>
| * feat(lsp)!: remove client-server handlers from vim.lsp.handlersLewis Russell2024-11-01
| | | | | | | | | | | | | | | | | | | | - Partition the handlers in vim.lsp.handlers as: - client to server response handlers (RCS) - server to client request handlers (RSC) - server to client notification handlers (NSC) Note use string indexes instead of protocol.methods for improved typing in LuaLS (tip: use hover on RCS, RSC or NSC).
| * fix(lsp): hover border type can be string (#31013)nikolightsaber2024-11-01
| | | | | | | | | | Border type can also be a string as defined in `api-win_config` Co-authored-by: Nikolai Devolder <nikolai.devolder@yamabiko.eu>
| * feat(lua): allow vim.on_key() callback to consume the key (#30939)errael2024-11-01
| |
| * refactor(loader): format annotationsLewis Russell2024-10-31
| |
| * refactor(loader): use the term stat instead of hashLewis Russell2024-10-31
| |
| * refactor(loader): remove Loader table and use localsLewis Russell2024-10-31
| |
| * refactor(loader): rename typesLewis Russell2024-10-31
| |
| * refactor(loader): inline Loader.load into Loader.loadfileLewis Russell2024-10-31
| |
| * refactor(loader): simplify Loader.loader_libLewis Russell2024-10-31
| |
| * refactor(loader): simplify Loader.write/readLewis Russell2024-10-31
| |
| * perf(loader): reduce calls to Loader.cache_fileLewis Russell2024-10-31
| |
| * refactor(loader): remove unused _topmodsLewis Russell2024-10-31
| |