summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftdetect/llvm.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-09 21:27:13 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-09 21:27:13 +0200
commitc2a93f51705c4e5fbb75d3218758c018138ce1ca (patch)
treec29ef82cff78f0bdeb29e16a3224a795c18ece20 /.config/nvim/after/ftdetect/llvm.lua
parentb21ab254ba390515ded0124f556188cdc42cbe77 (diff)
nvim: Add missing runtime files
Diffstat (limited to '.config/nvim/after/ftdetect/llvm.lua')
-rw-r--r--.config/nvim/after/ftdetect/llvm.lua6
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,
+})