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
|
-- look and feel
|
||||||
vim.opt.shortmess:append({I = true}) -- remove intro message
|
vim.opt.shortmess:append({I = true}) -- remove intro message
|
||||||
|
opt.termguicolors = true
|
||||||
|
opt.ruler = true
|
||||||
opt.relativenumber = true
|
opt.relativenumber = true
|
||||||
opt.number = true
|
opt.number = true
|
||||||
opt.showmode = false
|
opt.showmode = false
|
||||||
opt.scrolloff = 10
|
opt.scrolloff = 10
|
||||||
opt.ruler = true
|
opt.softtabstop = 2
|
||||||
opt.termguicolors = true
|
|
||||||
opt.tabstop = 2
|
|
||||||
opt.shiftwidth = 2
|
opt.shiftwidth = 2
|
||||||
|
|
||||||
-- controlling
|
-- controlling
|
||||||
@ -19,6 +19,7 @@ opt.ignorecase = true
|
|||||||
opt.smartcase = true
|
opt.smartcase = true
|
||||||
opt.smartindent = true
|
opt.smartindent = true
|
||||||
opt.mouse = "i"
|
opt.mouse = "i"
|
||||||
|
opt.autoindent = true
|
||||||
|
|
||||||
-- completion for lua
|
-- completion for lua
|
||||||
opt.completeopt = 'noinsert'
|
opt.completeopt = 'noinsert'
|
||||||
|
@ -196,3 +196,4 @@ return require('packer').startup(function(use)
|
|||||||
use {"tpope/vim-fugitive", cmd = "G"}
|
use {"tpope/vim-fugitive", cmd = "G"}
|
||||||
use {"JuanCldCmt/glow.nvim", branch = 'main', cmd = {"Glow", "GlowInstall"}}
|
use {"JuanCldCmt/glow.nvim", branch = 'main', cmd = {"Glow", "GlowInstall"}}
|
||||||
end)
|
end)
|
||||||
|
-- vim:set shiftwidth=4 tabstop=4:
|
||||||
|
Loading…
Reference in New Issue
Block a user