summaryrefslogtreecommitdiff
path: root/nvim/lua/codev.lua
diff options
context:
space:
mode:
authoradmin <contact@optics-design.com>2025-04-26 22:57:28 +0200
committeradmin <contact@optics-design.com>2025-04-26 22:57:28 +0200
commit0ede748577b45f3d9ed91a0fdaf142953fe7a744 (patch)
tree14faf3fc51d66beebb477e045a165c2d3d77b9eb /nvim/lua/codev.lua
Initial Commit
Diffstat (limited to 'nvim/lua/codev.lua')
-rw-r--r--nvim/lua/codev.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/nvim/lua/codev.lua b/nvim/lua/codev.lua
new file mode 100644
index 0000000..ed6c330
--- /dev/null
+++ b/nvim/lua/codev.lua
@@ -0,0 +1,11 @@
+vim.api.nvim_exec2([[
+ augroup SeqFileType
+ autocmd!
+ autocmd BufRead,BufNewFile *.seq set filetype=seq
+ autocmd BufRead,BufNewFile *.seq set syntax=codev
+ autocmd BufRead,BufNewFile *.lis set filetype=lis
+ autocmd BufRead,BufNewFile *.lis set syntax=codelis
+ augroup END
+]], {})
+
+vim.api.nvim_exec2([[autocmd FileType seq set commentstring=!%s]], {})
Back to https://optics-design.com