diff --git a/lua/core.lua b/lua/core.lua index b30abe8..7ddf184 100644 --- a/lua/core.lua +++ b/lua/core.lua @@ -5,13 +5,13 @@ local global = vim.g -- look and feel vim.opt.shortmess:append({I = true}) -- remove intro message +opt.termguicolors = true +opt.ruler = true opt.relativenumber = true opt.number = true opt.showmode = false opt.scrolloff = 10 -opt.ruler = true -opt.termguicolors = true -opt.tabstop = 2 +opt.softtabstop = 2 opt.shiftwidth = 2 -- controlling @@ -19,6 +19,7 @@ opt.ignorecase = true opt.smartcase = true opt.smartindent = true opt.mouse = "i" +opt.autoindent = true -- completion for lua opt.completeopt = 'noinsert' diff --git a/lua/pluginList.lua b/lua/pluginList.lua index 8d7931a..92fccaa 100644 --- a/lua/pluginList.lua +++ b/lua/pluginList.lua @@ -147,7 +147,7 @@ return require('packer').startup(function(use) use { "lukas-reineke/indent-blankline.nvim", after = {"nvim-treesitter", "nvim-treesitter-context"}, - event = "UIEnter", + event = "UIEnter", config = function() require "plugins.indent-blankline" end } use { @@ -196,3 +196,4 @@ return require('packer').startup(function(use) use {"tpope/vim-fugitive", cmd = "G"} use {"JuanCldCmt/glow.nvim", branch = 'main', cmd = {"Glow", "GlowInstall"}} end) +-- vim:set shiftwidth=4 tabstop=4: