Start new wiki-diary entries with a skeleton and do not apply vimwiki-filetype to markdown-files in vim
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user