diff options
Diffstat (limited to '.config/nvim/after/ftdetect/llvm.lua')
-rw-r--r-- | .config/nvim/after/ftdetect/llvm.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/after/ftdetect/llvm.lua b/.config/nvim/after/ftdetect/llvm.lua new file mode 100644 index 0000000..6313b3d --- /dev/null +++ b/.config/nvim/after/ftdetect/llvm.lua @@ -0,0 +1,6 @@ +vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, { + pattern = '*.ll', + callback = function() + vim.bo.filetype = 'llvm' + end, +}) |