summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/ftplugin/d.lua
AgeCommit message (Collapse)AuthorFiles
2024-09-23fix(runtime): treat b:undo_ftplugin consistently in Lua ftplugins (#30473)zeertzjq1
- Don't assume b:undo_ftplugin is set when first modifying it. - Don't assume b:undo_ftplugin already contains some resetting.
2024-07-01fix(runtime): update b:undo_ftplugin in Lua runtime files (#29529)zeertzjq1
Related to #29506, but adding vim.treesitter.stop() to b:undo_ftplugin doesn't solve the problem yet.
2024-06-03feat(ftplugin): change 'commentstring' to `// %s` for C/C++ (#29085)Soham Shanbhag1
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).
2023-09-26fix(runtime): add commentstring for D ftplugin (#25362)ricardaxel1
Problem: No commentstring is set for D buffers after removing the default C-style commentstring Same solution than neovim#23039 Co-authored-by: Axel Ricard <axel.ricard@allegrodvt.com>