Update .config/nvim/init.lua
Update .config/nvim/lazy-lock.json Update .config/nvim/lua/config/10_opts.lua Update .config/nvim/lua/config/20_keymaps.lua Update .config/nvim/lua/plugin/00_colorscheme.lua Update .config/nvim/lua/plugin/01_whichkey.lua Update .config/nvim/lua/plugin/03_treesitter.lua Update .config/nvim/lua/plugin/05_fzf.lua Update .config/nvim/lua/plugin/15_lsp.lua Add .config/nvim/lua/plugin/25_git.lua Add .config/nvim/lua/plugin/30_formatting.lua Add .config/nvim/stylua.toml
This commit is contained in:
parent
2d7096e6cb
commit
d463a7b8c9
12 changed files with 181 additions and 72 deletions
|
|
@ -1,41 +1,42 @@
|
|||
-- 10_opts.lua
|
||||
-- General =================================
|
||||
vim.g.mapleader = ' '
|
||||
vim.o.mouse = ''
|
||||
vim.o.mousescroll = 'ver:25,hor:6'
|
||||
vim.o.switchbuf = 'usetab'
|
||||
vim.o.undofile = true
|
||||
-- UI ======================================
|
||||
vim.o.breakindent = true
|
||||
vim.o.breakindentopt = 'list:-1'
|
||||
vim.o.colorcolumn = '+1'
|
||||
vim.o.cursorline = true
|
||||
vim.o.linebreak = true
|
||||
vim.o.list = true
|
||||
vim.o.relativenumber = true
|
||||
vim.o.pumheight = 10
|
||||
vim.o.ruler = false
|
||||
vim.o.signcolumn = 'yes'
|
||||
vim.o.splitbelow = true
|
||||
vim.o.splitright = true
|
||||
vim.o.winborder = 'single'
|
||||
vim.o.wrap = false
|
||||
vim.o.cursorlineopt = 'screenline,number'
|
||||
-- Folds ===================================
|
||||
vim.o.foldlevel = 10
|
||||
vim.o.foldmethod = 'indent'
|
||||
vim.o.foldnestmax = 10
|
||||
vim.o.foldtext = ''
|
||||
-- Editing =================================
|
||||
vim.o.autoindent = true
|
||||
vim.o.expandtab = true
|
||||
vim.o.ignorecase = true
|
||||
vim.o.incsearch = true
|
||||
vim.o.infercase = true
|
||||
vim.o.smartcase = true
|
||||
vim.o.smartindent = true
|
||||
vim.o.virtualedit = 'block'
|
||||
vim.o.iskeyword = '@,48-57,_,192-255,-'
|
||||
vim.o.tabstop = 2
|
||||
vim.o.shiftwidth = 2
|
||||
|
||||
-- General ===================================
|
||||
vim.g.mapleader = " "
|
||||
vim.o.mouse = ""
|
||||
vim.o.mousescroll = "ver:25,hor:6"
|
||||
vim.o.switchbuf = "usetab"
|
||||
vim.o.undofile = true
|
||||
-- UI ========================================
|
||||
vim.o.breakindent = true
|
||||
vim.o.breakindentopt = "list:-1"
|
||||
vim.o.colorcolumn = "+1"
|
||||
vim.o.cursorline = true
|
||||
vim.o.linebreak = true
|
||||
vim.o.list = true
|
||||
vim.o.relativenumber = true
|
||||
vim.o.pumheight = 10
|
||||
vim.o.ruler = false
|
||||
vim.o.signcolumn = "yes"
|
||||
vim.o.splitbelow = true
|
||||
vim.o.splitright = true
|
||||
vim.o.winborder = "single"
|
||||
vim.o.wrap = false
|
||||
vim.o.cursorlineopt = "screenline,number"
|
||||
-- Folds =====================================
|
||||
vim.o.foldlevel = 10
|
||||
vim.o.foldmethod = "indent"
|
||||
vim.o.foldnestmax = 10
|
||||
vim.o.foldtext = ""
|
||||
-- Editing ===================================
|
||||
vim.o.autoindent = true
|
||||
vim.o.expandtab = true
|
||||
vim.o.ignorecase = true
|
||||
vim.o.incsearch = true
|
||||
vim.o.infercase = true
|
||||
vim.o.smartcase = true
|
||||
vim.o.smartindent = true
|
||||
vim.o.virtualedit = "block"
|
||||
vim.o.iskeyword = "@,48-57,_,192-255,-"
|
||||
vim.o.tabstop = 2
|
||||
vim.o.shiftwidth = 2
|
||||
-- Diagnostic ================================
|
||||
vim.diagnostic.config({ virtual_text = true })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue