diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-24 00:14:04 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-24 00:14:04 +0200 |
| commit | 966d12ac730c83da90d60ab24eae539b2ea69441 (patch) | |
| tree | 702f5f832796b572d0faee31c0eb15507e91f49a /after/ftplugin/c.lua | |
| parent | 2a8020a2e9b7ef2ee77ddee14892127a4eb95187 (diff) | |
| download | dotfiles-966d12ac730c83da90d60ab24eae539b2ea69441.tar.gz dotfiles-966d12ac730c83da90d60ab24eae539b2ea69441.zip | |
Update/Overhaul
Diffstat (limited to 'after/ftplugin/c.lua')
| -rwxr-xr-x | after/ftplugin/c.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/after/ftplugin/c.lua b/after/ftplugin/c.lua new file mode 100755 index 0000000..6af8a5c --- /dev/null +++ b/after/ftplugin/c.lua @@ -0,0 +1,9 @@ +-- Fix C filetype comments +vim.api.nvim_create_autocmd("Filetype", { + pattern = "c", + callback = function() + vim.bo.commentstring = "//%s" + end, + group = comment_augroup, +}) + |
