aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/cs.lua
Commit message (Collapse)AuthorAge
* feat(ftplugin): change 'commentstring' to `// %s` for C/C++ (#29085)Soham Shanbhag2024-06-03
| | | | | | | | | 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).
* fix(runtime): add commentstring for C# ftplugin (#23039)Christian Clason2023-04-12
Problem: No commentstring is set for C# buffers after removing the default C-style commentstring Solution: Add `ftplugin/cs.lua` with C-style commentstring