This commit is contained in:
Liam Waldron 2024-11-25 16:15:41 -05:00
parent fddf7fe6e3
commit 418d494fe9
2 changed files with 33 additions and 2 deletions

31
init.lua Normal file
View File

@ -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(<q-args>)
]])
require('plugins')
require'nvim-treesitter.configs'.setup {
ensure_installed = { "c", "lua", "vim", "bash", "cpp" },
highlight = {
enable = true,
},
}

View File

@ -1,8 +1,8 @@
require('lualine').setup { require('lualine').setup {
options = { options = {
icons_enabled = true, icons_enabled = true,
theme = 'nord', -- theme = 'nord',
-- theme = 'gruvbox-material', theme = 'gruvbox-material',
component_separators = { left = '', right = ''}, component_separators = { left = '', right = ''},
section_separators = { left = '', right = ''}, section_separators = { left = '', right = ''},
disabled_filetypes = { disabled_filetypes = {