summaryrefslogtreecommitdiff
path: root/nvim_old/lua/codev.lua
diff options
context:
space:
mode:
authoradmin <contact@optics-design.com>2025-05-11 00:43:32 +0200
committeradmin <contact@optics-design.com>2025-05-11 00:43:32 +0200
commit102f9a5608cbb7b5553cd0d1862b6bd8e40c8075 (patch)
treef6ae6dbbf3c9b60e34bb0e24dca20008c704f721 /nvim_old/lua/codev.lua
parent681468ea7f56624ca869e7ba859f4457a8412cc3 (diff)
refractored neovim config
Diffstat (limited to 'nvim_old/lua/codev.lua')
-rw-r--r--nvim_old/lua/codev.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/nvim_old/lua/codev.lua b/nvim_old/lua/codev.lua
new file mode 100644
index 0000000..ed6c330
--- /dev/null
+++ b/nvim_old/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