| Commit message (Collapse) | Author | Age |
| |
|
|\
| |
| | |
feat(keymap): return nil from an expr keymap
|
| |
| |
| |
| |
| | |
For Lua callback expr keymaps, returning `nil` or `false` is equivalent
to an empty string
|
| |
| |
| |
| |
| | |
Problem: Org-mode files are not recognized.
Solution: Add patterns to recognize "org" files. (closes vim/vim#10046)
https://github.com/vim/vim/commit/3a6f952cc87065a4cf1f6502b2054ba99fdf45ed
|
| |
| |
| |
| |
| |
| | |
used for Tree-sitter queries
uses Lisp runtime files
(in Lua to distinguish from upstream runtime files)
|
| |
| |
| | |
This covers some default groups listed in :h group-name.
|
| | |
|
| | |
|
| |
| |
| |
| | |
* make `open_float` respect `scope` option set in `vim.diagnostic.config`
* Closes #17878
|
| |
| |
| |
| |
| |
| | |
Uses of `getline` in `filetype.lua` currently assume it always returns a
string. However, if the buffer is unloaded when filetype detection runs,
`getline` returns `nil`. Fixing this prevents errors when filetype
detection is run on unloaded buffers.
|
|/
|
|
|
|
| |
vim.tbl_get takes a table with subsequent string arguments (variadic) that
index into the table. If the value pointed to by the set of keys exists,
the function returns the value. If the set of keys does not exist, the
function returns nil.
|
|\
| |
| | |
feat(ui): allow conceal to be defined in decorations
|
| |
| |
| |
| |
| |
| | |
Unlike syntax conceal, change highlight of concealed char
Can be used in tree-sitter using "conceal" metadata.
|
|/
|
|
|
|
|
|
|
| |
The use of 'softtabstop' to set tabSize was introduced in 5d5b068,
replacing 'tabstop'. If we look past the name tabSize and at the actual
purpose of the field, it's the indentation width used when formatting.
This corresponds to the Vim option 'shiftwidth', not 'softtabstop'.
The latter has the comparatively mundane purpose of controlling what
happens when you hit the tab key (and even this is incomplete, as it
fails to account for 'smarttab').
|
|
|
| |
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
|
|
|
|
|
|
| |
Problem: Not all gdb files are recognized.
Solution: Add a few more patterns for gdb.
(closes https://github.com/vim/vim/pull/9956)
https://github.com/vim/vim/commit/8d5e514d77bd4b1956656ad2be2ce7094bd43a72
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Clean up lint errors, too
|
|
|
|
| |
This also fixes a fair number of issues found in running the tests
|
|
|
|
|
| |
This is starting from @geekodour's work at
https://github.com/neovim/neovim/pull/8326
|
|\
| |
| | |
feat(lua): handle lazy submodules in `:lua vim.` wildmenu completion
|
| | |
|
|/
|
|
|
|
| |
Co-authored-by: Hongyi Lyu <hongyi.lyu95@gmail.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: notomo <notomo.motono@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
|
|
|
|
|
| |
This will allow us to also use the same logic for lua threads and
processes, later.
|
| |
|
| |
|
|\
| |
| | |
refactor(lua): move only runtime lua file in src/ to runtime/lua
|
| |
| |
| |
| | |
reorganize so that initialization is done in lua
|
|/
|
| |
This change forces the start of an incremental sync range to begin always on an existing line.
|
| |
|
| |
|
| |
|
|\
| |
| | |
feat: ignore nore on <Plug> maps
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
Problem: Dtrace files are recognized as filetype D.
Solution: Add a pattern for Dtrace files. (Teubel György, closes vim/vim#9841)
Add some more testing.
https://github.com/vim/vim/commit/4d56b971cbae01cc454eb09713326224993e38ed
|
|
|
|
|
|
|
|
|
| |
also update documentation
BREAKING CHANGE: signature of highlight.range is now
vim.highlight.range(bufnr, ns, hlgroup, start, finish,
{ regtype = regtype, inclusive = inclusive, priority = priority })
Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com>
|
|
|
|
| |
This matches the LSP handlers, and forces the qflist for diagnostics to
span across the horizontal space, below all open windows.
|
| |
|
|
|
|
|
|
| |
Problem: ".gts" and ".gjs" files are not recognized.
Solution: Recognize Glimmer flavored typescript and javascript.
(closes vim/vim#9799)
https://github.com/vim/vim/commit/cdf717283ca70b18f20b8a2cefe7957083280c6f
|
|
|
|
|
|
|
|
|
| |
Closes https://github.com/neovim/neovim/issues/17456
* treesitter uses the default highlight priority of 50
* diagnostic highlights have a priority of 150
* lsp reference highlights have a priority of 200
This ensures proper ordering.
|
|
|
|
|
| |
Problem: Solidity files are not recognized.
Solution: Add the *.sol pattern. (Dundar Goc, closes vim/vim#9792)
https://github.com/vim/vim/commit/97b231541d4e82fbc85e51121448d95bd43c50ad
|