nvim-dotfiles/init.lua

32 lines
735 B
Lua
Raw Normal View History

2024-11-25 16:15:41 -05:00
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(<q-args>)
]])
require('plugins')
require'nvim-treesitter.configs'.setup {
ensure_installed = { "c", "lua", "vim", "bash", "cpp" },
highlight = {
enable = true,
},
}