diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-17 21:06:53 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-17 21:06:53 +0200 |
commit | 2d917594baa898e2eea0bf4a962c96999b85605b (patch) | |
tree | 6f325d705f0c3d90f7ee56fef73d6d919309eb0e /.config/nvim/after/ftdetect/xcompose.lua | |
parent | 805b9c01123e5368a62847021b25b0e3345a26c5 (diff) |
nvim: Add some more filetype detections
Diffstat (limited to '.config/nvim/after/ftdetect/xcompose.lua')
-rw-r--r-- | .config/nvim/after/ftdetect/xcompose.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/after/ftdetect/xcompose.lua b/.config/nvim/after/ftdetect/xcompose.lua new file mode 100644 index 0000000..81e6c4a --- /dev/null +++ b/.config/nvim/after/ftdetect/xcompose.lua @@ -0,0 +1,6 @@ +vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, { + pattern = 'xcompose', + callback = function() + vim.bo.filetype = 'xcompose' + end +}) |