Lewis Russell
81fc27124b
refactor(test): inject after_each differently
2024-04-10 15:53:50 +01:00
dundargoc
7035125b2b
test: improve test conventions
...
Work on https://github.com/neovim/neovim/issues/27004 .
2024-04-08 22:51:00 +02:00
Lewis Russell
a7bbda121d
fix(test): typing
2024-03-25 21:09:57 +00:00
Lewis Russell
795f896a57
test: rename (meths, funcs) -> (api, fn)
2024-01-12 18:59:14 +00:00
Lewis Russell
c30f2e3182
test: typing for helpers.meths
2024-01-12 13:01:06 +00:00
Justin M. Keyes
04f2f864e2
refactor: format test/*
2024-01-03 02:09:29 +01:00
Lewis Russell
abb8c2c453
fix(editorconfig): do not set 'endofline'
...
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-08-27 19:27:25 +01:00
Gregory Anders
cbbda3bcd7
fix(editorconfig): check that buffer is valid ( #23922 )
...
Fixes: https://github.com/neovim/neovim/issues/23921
2023-06-05 11:53:13 -05:00
Lewis Russell
1fe1bb084d
refactor(options): deprecate nvim[_buf|_win]_[gs]et_option
...
Co-authored-by: zeertzjq <zeertzjq@outlook.com >
Co-authored-by: famiu <famiuhaque@protonmail.com >
2023-05-21 15:14:01 +06:00
Gregory Anders
6ffa434f0b
refactor(editorconfig)!: change editorconfig_enable to editorconfig
2023-01-07 08:19:37 -07:00
Gregory Anders
34d1eaa792
feat(editorconfig): allow editorconfig to be toggled dynamically
...
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-07 08:19:12 -07:00
Gregory Anders
e88cdc9a0f
test(editorconfig): add editorconfig tests
2023-01-03 11:36:37 -07:00