Add elna file support

This commit is contained in:
2025-06-14 21:38:10 +02:00
parent 66edf5bc4b
commit eda133be18
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
vim.bo.expandtab = true
vim.bo.tabstop = 2
vim.bo.shiftwidth = 2

View File

@ -110,3 +110,10 @@ vim.keymap.set('n', '<space>e', vim.diagnostic.open_float, opts)
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, opts)
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, opts)
vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist, opts)
-- Custom file types.
vim.filetype.add({
extension = {
elna = 'elna'
}
})