diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..c860c99 --- /dev/null +++ b/init.lua @@ -0,0 +1,31 @@ +vim.cmd([[ + syntax on + + highlight PcdKey ctermfg=cyan guifg=#00ffff + highlight PcdValue ctermfg=red guifg=#ff0000 + + highlight HellKey ctermfg=cyan guifg=#00ffff + highlight HellValue ctermfg=red guifg=#00ffff + + set number + colorscheme gruvbox + set background=dark + + let g:airline_theme='base16' + + function! s:Underline(chars) + let chars = empty(a:chars) ? '-' : a:chars + let nr_columns = virtcol('$') - 1 + let uline = repeat(chars, (nr_columns / len(chars)) + 1) + put =strpart(uline, 0, nr_columns) + endfunction + command! -nargs=? Underline call s:Underline() +]]) +require('plugins') + +require'nvim-treesitter.configs'.setup { + ensure_installed = { "c", "lua", "vim", "bash", "cpp" }, + highlight = { + enable = true, + }, +} diff --git a/plugin/lualine.lua b/plugin/lualine.lua index 05ce0c0..d9a5fa0 100644 --- a/plugin/lualine.lua +++ b/plugin/lualine.lua @@ -1,8 +1,8 @@ require('lualine').setup { options = { icons_enabled = true, - theme = 'nord', - -- theme = 'gruvbox-material', + -- theme = 'nord', + theme = 'gruvbox-material', component_separators = { left = '', right = ''}, section_separators = { left = '', right = ''}, disabled_filetypes = {