summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/lua/settings.lua
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@krotosaudio.com>2024-07-19 14:16:35 +0100
committerMichaël Ball <michael.ball@krotosaudio.com>2024-07-19 14:16:35 +0100
commit1616a0741806e74aaf85f6b3539de374c3ca3249 (patch)
tree91393b3a3222877e58da27f4b2d8d8f33ebac3ca /neovim/.config/nvim/lua/settings.lua
parent457ce9e6017c081e02a566895fa1fe488cd87b9c (diff)
Refactor neovim config
Diffstat (limited to 'neovim/.config/nvim/lua/settings.lua')
-rw-r--r--neovim/.config/nvim/lua/settings.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/neovim/.config/nvim/lua/settings.lua b/neovim/.config/nvim/lua/settings.lua
index c3807e2..98d9a01 100644
--- a/neovim/.config/nvim/lua/settings.lua
+++ b/neovim/.config/nvim/lua/settings.lua
@@ -25,7 +25,6 @@ vim.opt.linebreak = true
vim.opt.showbreak = '↪ '
vim.opt.breakindent = true
vim.opt.termguicolors = true
-vim.opt.background = 'light'
vim.cmd[[
syntax on
filetype on
@@ -39,14 +38,11 @@ vim.opt.updatetime = 300
vim.opt.shortmess:append 'c'
vim.opt.signcolumn = 'yes'
-vim.keymap.set("", "<A-{>", "<cmd>tabprevious<CR>", { noremap=true })
-vim.keymap.set("", "<A-}>", "<cmd>tabnext<CR>", { noremap=true })
-
-- Autocommands
local indent_rules_augroup = vim.api.nvim_create_augroup('Indents', {})
vim.api.nvim_create_autocmd( { 'FileType' }, {
- pattern = { 'make', 'sh' },
+ pattern = { 'make', 'sh', 'zsh' },
group = indent_rules_augroup,
callback = function()
vim.opt_local.tabstop = 8