summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/plugin/editorconfig_spec.lua
AgeCommit message (Collapse)AuthorFiles
2025-06-11fix(editorconfig): a custom property is treated as a section (#34445)fortime1
Problem: A custom property containing a pair of square brackets will be treated as a section. Solution: Change the logic parsing a section, remove the first match regex `%b[]`. Signed-off-by: fortime <palfortime@gmail.com>
2024-09-21test: support upvalues in exec_luaLewis Russell1
2024-06-06feat(editorconfig): add support for spelling_language (#28638)sus-domesticus1
2024-04-23test: improve test conventionsdundargoc1
Specifically, functions that are run in the context of the test runner are put in module `test/testutil.lua` while the functions that are run in the context of the test session are put in `test/functional/testnvim.lua`. Closes https://github.com/neovim/neovim/issues/27004.
2024-04-10refactor(test): inject after_each differentlyLewis Russell1
2024-04-08test: improve test conventionsdundargoc1
Work on https://github.com/neovim/neovim/issues/27004.
2024-03-25fix(test): typingLewis Russell1
2024-01-12test: rename (meths, funcs) -> (api, fn)Lewis Russell1
2024-01-12test: typing for helpers.methsLewis Russell1
2024-01-03refactor: format test/*Justin M. Keyes1
2023-08-27fix(editorconfig): do not set 'endofline'Lewis Russell1
Problem: 'endofline' can be used to detect if a file ends of <EOL>, however editorconfig can break this. Solution: Set 'endofline' during BufWritePre Fixes: #24869
2023-06-05fix(editorconfig): check that buffer is valid (#23922)Gregory Anders1
Fixes: https://github.com/neovim/neovim/issues/23921
2023-05-21refactor(options): deprecate nvim[_buf|_win]_[gs]et_optionLewis Russell1
Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: famiu <famiuhaque@protonmail.com>
2023-01-07refactor(editorconfig)!: change editorconfig_enable to editorconfigGregory Anders1
2023-01-07feat(editorconfig): allow editorconfig to be toggled dynamicallyGregory Anders1
Rather than only check `editorconfig_enable` when the plugin is loaded, check it each time the autocommand fires, so that users may enable or disable it dynamically. Also check for a buffer local version of the variable, so that editorconfig can be enabled or disabled per-buffer.
2023-01-03test(editorconfig): add editorconfig testsGregory Anders1