nvim lua config
This commit is contained in:
parent
c3d57561cb
commit
60b66753d9
1 changed files with 25 additions and 0 deletions
25
init.lua
Normal file
25
init.lua
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
local Plug = vim.fn['plug#']
|
||||||
|
vim.call('plug#begin')
|
||||||
|
|
||||||
|
Plug 'itchyny/lightline.vim'
|
||||||
|
Plug('catppuccin/nvim', { as='catppuccin' })
|
||||||
|
Plug 'nvim-tree/nvim-web-devicons'
|
||||||
|
Plug 'nvim-tree/nvimtree.lua'
|
||||||
|
|
||||||
|
vim.call('plug#end')
|
||||||
|
|
||||||
|
vim.cmd.colorscheme "catppuccin"
|
||||||
|
|
||||||
|
local set = vim.opt
|
||||||
|
|
||||||
|
set.tabstop = 4
|
||||||
|
set.softtabstop = 4
|
||||||
|
set.shiftwidth = 4
|
||||||
|
set.number = true
|
||||||
|
set.laststatus = 2
|
||||||
|
set.expandtab = true
|
||||||
|
set.autoindent = true
|
||||||
|
set.ttyfast = true
|
||||||
|
set.hlsearch = true
|
||||||
|
set.cc = "80"
|
||||||
|
set.backspace = "indent,eol,start"
|
Loading…
Reference in a new issue