diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-06-10 23:07:28 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-06-10 23:07:28 +0200 |
commit | 511efe89ed084bc922ae142d32e08427859198f4 (patch) | |
tree | fef9294b6056b6cf972ea5e689f70da8184fafae /.config/nvim/after/ftdetect/c.lua | |
parent | 64e2e90abdca04743558e3baf42a6b714b440bd0 (diff) |
nvim: Completely rewrite my configuration
Diffstat (limited to '.config/nvim/after/ftdetect/c.lua')
-rw-r--r-- | .config/nvim/after/ftdetect/c.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/after/ftdetect/c.lua b/.config/nvim/after/ftdetect/c.lua new file mode 100644 index 0000000..a518a11 --- /dev/null +++ b/.config/nvim/after/ftdetect/c.lua @@ -0,0 +1,6 @@ +vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, { + pattern = '*.[ch]', + callback = function() + vim.bo.filetype = 'c' + end, +}) |