2023-08-31 00:37:44 +00:00
|
|
|
vim.filetype.add({
|
|
|
|
filename = {
|
|
|
|
["user-dirs.dirs"] = "conf",
|
|
|
|
|
|
|
|
["gruvbox.conf"] = "kitty",
|
|
|
|
["keys.conf"] = "kitty",
|
|
|
|
["kitty.conf"] = "kitty",
|
2024-04-19 14:17:03 +00:00
|
|
|
["ssh.conf"] = "kitty",
|
2023-08-31 00:37:44 +00:00
|
|
|
|
|
|
|
["dot-zshenv"] = "zsh",
|
|
|
|
["dot-zshrc"] = "zsh"
|
|
|
|
},
|
|
|
|
pattern = {
|
|
|
|
[".*/git/config"] = "gitconfig"
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd('Filetype', {
|
|
|
|
group = vim.api.nvim_create_augroup('setIndent', { clear = true }),
|
2024-04-19 14:17:03 +00:00
|
|
|
pattern = { "lua", "html", "css", "javascript", "javascriptreact", "typescript", "typescriptreact" },
|
2023-08-31 00:37:44 +00:00
|
|
|
command = 'setlocal tabstop=2 softtabstop=2 shiftwidth=2'
|
|
|
|
})
|