Start new wiki-diary entries with a skeleton and do not apply vimwiki-filetype to markdown-files in vim

This commit is contained in:
2025-08-26 19:52:14 +02:00
parent 6491093ae3
commit 86bd90038d
3 changed files with 24 additions and 2 deletions

View File

@@ -92,9 +92,12 @@ function fix_filetype(pattern, filetype)
})
end
local home = vim.fn.expand("$HOME")
-- fix filetypes
fix_filetype("*Containerfile", "dockerfile")
fix_filetype("~/.config/git/*", "gitconfig")
fix_filetype(home.."/.config/git/*", "gitconfig")
fix_filetype(home.."/.local/bin/*", "sh")
-- adjust settings per filetype
-- git