diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-24 04:19:28 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-24 04:19:28 +0200 |
| commit | e95332b121672abaf9fd02692d81869b1e46c02d (patch) | |
| tree | 9dc0def690d7941b18783733045ba091112e9452 /common/config/nvim/after/ftplugin/c.lua | |
| parent | 0f6cee92221dc517bd756083e260dd9373851b82 (diff) | |
| parent | 7ed2303648bf83bb081d9bd863660ebf2344ce47 (diff) | |
| download | dotfiles-e95332b121672abaf9fd02692d81869b1e46c02d.tar.gz dotfiles-e95332b121672abaf9fd02692d81869b1e46c02d.zip | |
Merge commit '7ed2303648bf83bb081d9bd863660ebf2344ce47'
Diffstat (limited to 'common/config/nvim/after/ftplugin/c.lua')
| -rwxr-xr-x | common/config/nvim/after/ftplugin/c.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/config/nvim/after/ftplugin/c.lua b/common/config/nvim/after/ftplugin/c.lua new file mode 100755 index 0000000..6af8a5c --- /dev/null +++ b/common/config/nvim/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, +}) + |
