You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
390 B
Lua
13 lines
390 B
Lua
2 years ago
|
-- sets autocommands for bufenters etc
|
||
|
|
||
|
-- recognize i3 files as such
|
||
|
vim.api.nvim_create_autocmd({"BufRead","BufNewFile"}, {
|
||
|
pattern = {"*/i3/*.conf"},
|
||
|
command = "set filetype=i3config",
|
||
|
})
|
||
|
-- calcurse -> markdown
|
||
|
vim.api.nvim_create_autocmd({"BufRead","BufNewFile"}, {
|
||
|
pattern = {"/tmp/calcurse*","~/.local/share/calcurse/notes/*"},
|
||
|
command = "set filetype=markdown",
|
||
|
})
|