Config changes
- replaced tabstop with softtabstop - add autoindent - modeline for lua
This commit is contained in:
parent
864818059c
commit
a821a26183
@ -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'
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user