diff options
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r-- | .config/nvim/init.vim | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index d41d485..8dfe515 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -17,6 +17,8 @@ Plug 'airblade/vim-gitgutter' Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} +Plug 'lukas-reineke/indent-blankline.nvim' + Plug 'iamcco/markdown-preview.nvim', {'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} " if install fails do `:call mkdp#util#install() manually` @@ -41,6 +43,10 @@ let mapleader=" " set shiftwidth=2 set tabstop=2 +set expandtab + +set list +set listchars=tab:\ \ ,trail:- set mouse=a set splitright @@ -54,6 +60,7 @@ augroup numbertoggle augroup END colorscheme darcula +set termguicolors hi Normal guibg=NONE ctermbg=NONE @@ -104,6 +111,20 @@ require('nvim-treesitter.configs').setup { EOF +" Indent Blankline +lua <<EOF +vim.cmd [[highlight IndentBlanklineChar guifg=#303030 gui=nocombine]] +vim.cmd [[highlight IndentBlanklineContextChar guifg=#404040 gui=nocombine]] + +require('indent_blankline').setup { + use_treesitter = true, + show_first_indent_level = false, + show_trailing_blankline_indent = false, + show_current_context = true, +} +EOF + + " LSP lua <<EOF |