neovim/test/functional/lua
Soham Shanbhag 054a287dbe
feat(ftplugin): change 'commentstring' to // %s for C/C++ (#29085)
Problem: The default commentstring for C/C++ can lead to invalid code 
when commenting and does not match the Nvim codebase.

Solution: Change commentstring to `// %s` as used by Neovim. Also
set all commentstrings that derive from the default C string explicitly
(and correctly).
2024-06-03 09:48:43 +02:00
..
api_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
base64_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
buffer_updates_spec.lua test: add a test for #29119 2024-06-02 15:18:30 +08:00
command_line_completion_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
commands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
comment_spec.lua fix(comment): fall back to using trimmed comment markers (#28938) 2024-05-23 15:30:53 -05:00
diagnostic_spec.lua feat(defaults): use vim.diagnostic.jump() for default mappings (#29066) 2024-05-28 13:24:16 -05:00
ffi_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
filetype_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
fs_spec.lua fix(fs): make vim.fs.root work for relative paths and unnamed buffers (#28964) 2024-05-24 10:48:32 -05:00
glob_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
highlight_spec.lua refactor(lua): rewrite vim.highlight.range() (#28986) 2024-05-25 20:37:33 +08:00
inspector_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
iter_spec.lua fix(vim.iter): enable optimizations for arrays (lists with holes) (#28781) 2024-05-17 14:17:25 -05:00
json_spec.lua fix(vim.json): properly treat luanil options as booleans (#28622) 2024-05-03 19:26:56 +08:00
loader_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
loop_spec.lua fix(lua): vim.fn.has('nvim-0.10') in fast context, used by vim.deprecate 2024-04-25 08:37:18 +02:00
luaeval_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
mpack_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
overrides_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
runtime_spec.lua feat(ftplugin): change 'commentstring' to // %s for C/C++ (#29085) 2024-06-03 09:48:43 +02:00
secure_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
snippet_spec.lua feat(snippet): add default keymaps during snippet session 2024-05-28 08:49:39 -07:00
spell_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
system_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
text_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
thread_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
ui_event_spec.lua fix(ui): flush ext_cmdline events before doing cmdpreview #27950 2024-05-28 02:43:56 -07:00
ui_spec.lua fix(vim.ui)!: change open() to return result|nil, errmsg|nil #28612 2024-05-03 03:20:03 -07:00
uri_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
version_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
vim_spec.lua perf: add fast path to vim.validate (#28977) 2024-05-27 08:08:23 -05:00
watch_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
xdiff_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00