mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-08-10 08:09:35 +00:00
refactor: rename period-prefixed files to dot-<filename>
This commit is contained in:
parent
341cdd5b9e
commit
16201f13c2
49 changed files with 0 additions and 0 deletions
28
nvim/dot-config/nvim/lua/core/autocmds.lua
Normal file
28
nvim/dot-config/nvim/lua/core/autocmds.lua
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
-- 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",
|
||||
})
|
||||
|
||||
-- Yaml settings
|
||||
augroup("YamlSettings", { clear = true })
|
||||
autocmd("FileType", {
|
||||
pattern = "y*ml",
|
||||
command = "setlocal foldenable foldlevel=1",
|
||||
group = "YamlSettings",
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue