aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
Commit message (Collapse)AuthorAge
...
| * vim-patch:210c49b: runtime(compiler): update pylint linter (#31191)zeertzjq2024-11-13
| | | | | | | | | | | | | | closes: vim/vim#16039 https://github.com/vim/vim/commit/210c49bbe8b2edf15fd4fbbc089ec128e4c9c0c9 Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
| * vim-patch:5ca8f22: runtime(idris2): include filetype,indent+syntax plugins ↵Christian Clason2024-11-13
| | | | | | | | | | | | | | | | | | | | | | for (L)Idris2 + ipkg closes: vim/vim#15993 https://github.com/vim/vim/commit/5ca8f223f03dbd85f5e06c8e1d500c65f311eaf1 Co-authored-by: Serhii Khoma <srghma@gmail.com> Co-authored-by: Christian Clason <ch.clason+github@icloud.com>
| * vim-patch:f18987c: runtime(doc): clarify the use of filters and external ↵zeertzjq2024-11-12
| | | | | | | | | | | | | | | | | | commands (#31185) related: vim/vim#16044 https://github.com/vim/vim/commit/f18987caa5095e9ff154f924d952047c67c9fb64 Co-authored-by: Christian Brabandt <cb@256bit.org>
| * Merge pull request #27813 from luukvbaal/msgidbfredl2024-11-11
| |\ | | | | | | feat(ext_messages): add hl_id to ext_messages chunks
| | * feat(ext_messages): add hl_id to ext_messages chunksLuuk van Baal2024-11-09
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Ext_messages chunks only contain the highlight attr id, which is not very useful for vim.ui_attach() consumers. Solotion: Add highlight group id to message chunks, which can easily be used to highlight text in the TUI through nvim_buf_set_extmark(): hl_group = synIDattr(id, "name").
| * | vim-patch:9.1.0849: there are a few typos in the source (#31159)zeertzjq2024-11-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: there are a few typos in the source. Solution: Correct typos (zeertzjq). closes: vim/vim#16026 https://github.com/vim/vim/commit/7c5152826f61bc968ba539ff6db3a55e75556bf2
| * | 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: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: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>
| * | 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>
| * | 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>
| * 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>
| * 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.
| * 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>
| * 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): use the term stat instead of hashLewis Russell2024-10-31
| |
| * vim-patch:8b0fa7a: runtime(netrw): make :Launch/Open autoloadablezeertzjq2024-10-31
| | | | | | | | | | | | | | | | | | | | fixes: vim/vim#15959 closes: vim/vim#15962 https://github.com/vim/vim/commit/8b0fa7a565d8aec306e5755307d182fa7d81e65f Co-authored-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
| * vim-patch:3d7e567: runtime(netrw): simplify gx file handlingzeertzjq2024-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It did not work very well, at least on Debian 12, and I am not sure Git Bash and WSL, for example, were taken care of as maintenance stalled. The whole logic was somewhat convoluted with some parts repeatedly invoking failed commands. The file handling was outdated, for example, nowadays Netscape is rarely used, and also opinionated, for example mainly Microsoft Paint and Gimp for Image files. Instead, let's use (xdg-)open and similar commands on other systems which respects the user's preferences. closes: vim/vim#15721 https://github.com/vim/vim/commit/3d7e567ea7392e43a90a6ffb3cd49b71a7b59d1a Co-authored-by: Konfekt <Konfekt@users.noreply.github.com> Co-authored-by: Luca Saccarola <96259932+saccarosium@users.noreply.github.com>
| * docs(options): shell-powershell #30969Kai Moschcau2024-10-29
| | | | | | | | | | | | | | `-NonInteractive` at least somewhat hints to pwsh/powershell, that shell sessions created from :! are not interactive, though even that is not foolproof, because powershell is weird. `$PSStyle.OutputRendering='plaintext'` causes pwsh/powershell to omit ANSI escape sequences in its output.
| * Merge pull request #30935 from lewis6991/feat/lsp_multi_hoverLewis Russell2024-10-29
| |\
| | * feat(lsp)!: multiple client support for vim.lsp.buf.hover()Lewis Russell2024-10-29
| | | | | | | | | | | | Deprecate `vim.lsp.handlers.hover` and `vim.lsp.handlers['textDocument/hover']`
| * | vim-patch:9.1.0821: 'findexpr' completion doesn't set v:fname to cmdline ↵zeertzjq2024-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | argument Problem: 'findexpr' completion doesn't set v:fname to cmdline argument. Solution: Set v:fname to the cmdline argument as-is (zeertzjq). closes: vim/vim#15934 https://github.com/vim/vim/commit/20e045f78148c0ef0143c33ffe686fee72d29376
| * | vim-patch:9.1.0811: :find expansion does not consider 'findexpr'zeertzjq2024-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :find expansion does not consider 'findexpr' Solution: Support expanding :find command argument using 'findexpr' (Yegappan Lakshmanan) closes: vim/vim#15929 https://github.com/vim/vim/commit/2f6efaccfd5c4e7df1f54ed0f41f329abbe05f60 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| * | vim-patch:9.1.0810: cannot easily adjust the |:find| commandzeertzjq2024-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: cannot easily adjust the |:find| command Solution: Add support for the 'findexpr' option (Yegappan Lakshmanan) closes: vim/vim#15901 closes: vim/vim#15905 https://github.com/vim/vim/commit/aeb1c97db5b9de4f4903e7f288f2aa5ad6c49440 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| * | feat(defaults): map gO to LSP document_symbol #30781Nikita Revenco2024-10-28
| | |
| * | feat(diagnostics)!: sort underline severity_sort (#30898)Donatas2024-10-27
| | | | | | | | | | | | | | | feat(diagnostics)!: sort underline with severity_sort BREAKING CHANGE: underline will be applied with a higher value than `vim.hl.priorities.diagnostics`
| * | docs(lsp): document alternative for vim.lsp.util.jump_to_locationMaria José Solano2024-10-27
| | |
| * | docs(treesitter): specify predicate boolean return valueRiley Bruins2024-10-27
| | |
| * | refactor(lsp): drop str_byteindex/str_utfindex wrappers #30915Tristan Knight2024-10-26
| | | | | | | | | | | | | | | * deprecate old signatures * move to new str_byteindex/str_utfindex signature * use single-underscore name (double-underscore is reserved for Lua itself)
| * | refactor(options)!: use OptVal for option defaults #26691Famiu Haque2024-10-25
| |/ | | | | | | | | | | | | | | | | Problem: We use `void *` for option default values, which is confusing and can cause problems with type-correctness. It also doesn't accomodate for multitype options. On top of that, it also leads to default boolean option values not behaving correctly on big endian systems. Solution: Use `OptVal` for option default values. BREAKING CHANGE: - `:set {option}<` removes the local value for all global-local options instead of just string global-local options. - `:setlocal {option}<` copies the global value to the local value for number and boolean global-local options instead of removing the local value.
| * feat(lsp): deprecate vim.lsp.buf.completionLewis Russell2024-10-24
| | | | | | | | Use `vim.lsp.completion.trigger()` instead'
| * feat(lsp): deprecate execute_command with client:exec_cmdLewis Russell2024-10-24
| |
| * feat(stdlib): overload vim.str_byteindex, vim.str_utfindex #30735Tristan Knight2024-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PROBLEM: There are several limitations to vim.str_byteindex, vim.str_utfindex: 1. They throw given out-of-range indexes. An invalid (often user/lsp-provided) index doesn't feel exceptional and should be handled by the caller. `:help dev-error-patterns` suggests that `retval, errmsg` is the preferred way to handle this kind of failure. 2. They cannot accept an encoding. So LSP needs wrapper functions. #25272 3. The current signatures are not extensible. * Calling: The function currently uses a fairly opaque boolean value to indicate to identify the encoding. * Returns: The fact it can throw requires wrapping in pcall. 4. The current name doesn't follow suggestions in `:h dev-naming` and I think `get` would be suitable. SOLUTION: - Because these are performance-sensitive, don't introduce `opts`. - Introduce an "overload" that accepts `encoding:string` and `strict_indexing:bool` params. ```lua local col = vim.str_utfindex(line, encoding, [index, [no_out_of_range]]) ``` Support the old versions by dispatching on the type of argument 2, and deprecate that form. ```lua vim.str_utfindex(line) -- (utf-32 length, utf-16 length), deprecated vim.str_utfindex(line, index) -- (utf-32 index, utf-16 index), deprecated vim.str_utfindex(line, 'utf-16') -- utf-16 length vim.str_utfindex(line, 'utf-16', index) -- utf-16 index vim.str_utfindex(line, 'utf-16', math.huge) -- error: index out of range vim.str_utfindex(line, 'utf-16', math.huge, false) -- utf-16 length ```
| * docs: miscdundargoc2024-10-23
| | | | | | | | | | | | | | Co-authored-by: David Pedersen <limero@me.com> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: Leo Schlosser <Leo.Schlosser@Student.HTW-Berlin.de> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
| * vim-patch:19be0eb: runtime(doc): :ownsyntax also resets 'spelloptions'zeertzjq2024-10-23
| | | | | | | | | | | | closes: vim/vim#15919 https://github.com/vim/vim/commit/19be0eb7f0c5877fef927a22457fdd7b3ec0ea9b
| * fix(lsp): support multiple clients in typehierarchyLewis Russell2024-10-22
| |
| * docs(options): remove description for hidden options #30903Famiu Haque2024-10-22
| | | | | | | | | | | | | | | | | | Problem: Hidden options are documented despite being no-ops. Solution: Remove docs for hidden options. Move tags for options that we plan to restore, to ":help nvim-missing". Move tags for permanently removed options, to ":help nvim-removed".
| * vim-patch:a7d4561: runtime(netrw): deprecate and remove ↵Christian Clason2024-10-22
| | | | | | | | | | | | | | | | | | | | | | netrwFileHandlers#Invoke() closes: vim/vim#15895 https://github.com/vim/vim/commit/a7d456191de0c9092151e5c64f1a3b5a6714509b Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com> Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
| * vim-patch:421ed14: runtime(typst): add folding to typst ftpluginChristian Clason2024-10-22
| | | | | | | | | | | | | | | | closes: vim/vim#15897 https://github.com/vim/vim/commit/421ed14b8a0f50e0d2d9247dda49feb69352bd0d Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
| * vim-patch:9.1.0797: testing of options can be further improved (#30893)zeertzjq2024-10-22
| | | | | | | | | | | | | | | | | | | | | | Problem: testing of options can be further improved Solution: split the generated option test into test_options_all.vim, add more test cases, save and restore values, fix use-after-free closes: vim/vim#15894 https://github.com/vim/vim/commit/6eca04e9f1d446dc509ba51e32da56fa413fe2f0 Co-authored-by: Milly <milly.ca@gmail.com>
| * fix(meta): do not use hyphens in param namesLewis Russell2024-10-21
| | | | | | | | Fixes #30882
| * feat(vim.validate): improve fast form and deprecate spec formLewis Russell2024-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: `vim.validate()` takes two forms when it only needs one. Solution: - Teach the fast form all the features of the spec form. - Deprecate the spec form. - General optimizations for both forms. - Add a `message` argument which can be used alongside or in place of the `optional` argument.