mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-06-19 12:45:34 +00:00
21 lines
472 B
Lua
21 lines
472 B
Lua
-- lua/core/autocmds.lua
|
|
|
|
local augroup = vim.api.nvim_create_augroup
|
|
local autocmd = vim.api.nvim_create_autocmd
|
|
|
|
-- Fish filetype settings
|
|
augroup("FishSettings", { clear = true })
|
|
autocmd("FileType", {
|
|
pattern = "fish",
|
|
command = "setlocal tabstop=4",
|
|
group = "FishSettings",
|
|
})
|
|
|
|
-- Terminal settings
|
|
augroup("TerminalSettings", { clear = true })
|
|
autocmd("TermOpen", {
|
|
pattern = "*",
|
|
command = "setlocal nonumber norelativenumber",
|
|
group = "TerminalSettings",
|
|
})
|