| Commit message (Collapse) | Author | Age |
... | |
|\ \ \ \ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Because filetype.lua is gated behind an opt-in variable, it's not tested
during the "standard" test_filetype.vim test. So port the test into
filetype_spec where we enable the opt-in variable.
This means runtime Vim patches will need to update test_filetype in two
places. This can eventually be removed if/when filetype.lua is made
opt-out rather than opt-in.
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Filetype detection runs on BufRead and BufNewFile autocommands, both of
which can fire without an underlying buffer, so it's incorrect to use
<abuf> to determine the file path. Instead, match on <afile> and assume
that the buffer we're operating on is the current buffer. This is the
same assumption that filetype.vim makes, so it should be safe.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | | |
Also mark the 'getline' helper function as private to avoid docgen.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This default value is also set in filetype.vim, but if filetype.vim is
disabled the variable is never defined, which causes errors in some of
the dist#ft detection functions.
|
| | | |
| | | |
| | | | |
port from `filetype.vim`; also add `getline` convenience function
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Sebastian Volland <seb@baunz.net>
Co-authored-by: Lewis Russell <lewis6991@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes https://github.com/neovim/neovim/issues/16900
If clients receive a ContentModified error, it generally should not
show it in the UI for the end-user. Clients can resend the request if
they know how to do so.
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#implementationConsiderations
|
| | |
| | |
| | |
| | | |
Adds a new vim.filetype module that provides support for filetype detection in
Lua.
|
| | | |
|
|\ \ \
| | | |
| | | | |
feat(lua): make :lua =expr print result of expr
|
|/ / / |
|
| | |
| | |
| | |
| | | |
Addresses a regression introduced by the stricter type checking
in lua api functions from https://github.com/neovim/neovim/pull/16745
|
|\ \ \
| | | |
| | | | |
ci: install flake8 with apt instead of pip
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
ci: add jamessan as codeowner for ci related files
|
| | | |
| | | |
| | | |
| | | | |
[skip ci]
|
| | | | |
|
| | | |
| | | |
| | | | |
Related: #16889, #16745
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Not all sshconfig files are detected as such.
Solution: Adjust the patterns used for sshconfig detection. (David Auer,
closes vim/vim#9322)
https://github.com/vim/vim/commit/9acf2d8be93f3b50607279e7f3484b019675d0a7
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
ci: fix shellcheck errors introduced in version 0.8.0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Solved following shellcheck warnings:
SC2030
SC2295
SC2015
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Solves #13651
Co-authored-by: Gregory Anders <greg@gpanders.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Other refs to 05.3 don't need to be updated as they refer to the simple mappings
section anyway. Seems they weren't updated when the defaults.vim section was
added as 05.3 instead.
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
As revealed by #16745, some functions pass a nil value to API functions,
which have been implicitly converted to 0. #16745 breaks this implicit
conversion, so explicitly pass a resolved buffer number to these API
functions.
|
|\ \ \
| | | |
| | | | |
ci: remove unnecessary before_install script
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
ci: run lint only on master branch
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The list of known lint issues is only updated for the master branch, so
other branches report lots of false positive issues.
|
|\ \ \ \
| | | | |
| | | | | |
ci: remove watchdog function run_tests_wd
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's only used once for running check-single-includes (which I strongly
suspect it doesn't need anyway), its core logic is incorrect since both the
variables "tempsize" and "prev_temsize" are never defined and parsing ps
is incredibly fragile.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Function arguments that expect a list should explicitly use tbl_islist
rather than just checking for a table. This helps catch some simple
errors where a single table item is passed as an argument, which passes
validation (since it's a table), but causes other errors later on.
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
refactor(PVS/V009): add special comment at top of file required by PVS
|
| | | | |
| | | | |
| | | | |
| | | | | |
More info: https://pvs-studio.com/en/docs/warnings/v009/
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ci: bump clang version to 13 in asan and tsan
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
perf(api): elide luaref copy when setting 'callback' in nvim_set_keymap
|
|/ / / / |
|