diff options
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 +}) |