Remove theme module because of catpuccin

This commit is contained in:
Vladan Popovic 2024-09-23 22:57:08 +02:00
parent b0d6dffe81
commit c64bdbbf7f
3 changed files with 2 additions and 20 deletions

View file

@ -1,7 +1,6 @@
-- remap leader to <space> -- remap leader to <space>
vim.g.mapleader = ' ' vim.g.mapleader = ' '
require('theme')
require('settings') require('settings')
require('lsp') require('lsp')
require('keymappings') require('keymappings')

View file

@ -29,11 +29,11 @@ vim.opt.exrc = true
vim.opt.secure = true vim.opt.secure = true
vim.cmd([[ vim.cmd([[
syntax enable
filetype plugin indent on
set noautoread set noautoread
autocmd CursorHold * checktime autocmd CursorHold * checktime
autocmd TextYankPost * lua vim.highlight.on_yank {on_visual = false} autocmd TextYankPost * lua vim.highlight.on_yank {on_visual = false}
autocmd BufRead,BufNewFile *.bu,*.yml.example,*.yaml.example set filetype=yaml autocmd BufRead,BufNewFile *.bu,*.yml.example,*.yaml.example set filetype=yaml
autocmd BufRead,BufNewFile *.ign set filetype=json autocmd BufRead,BufNewFile *.ign set filetype=json
match Error /\s\+$/
let g:airline_theme='papercolor'
]]) ]])

View file

@ -1,17 +0,0 @@
-- Revert to vim's default term colorscheme
vim.cmd 'colorscheme vim'
vim.cmd 'set notermguicolors'
-- Highlight trailing whitespace (darker red)
vim.cmd 'highlight WhitespaceEOL ctermbg=red guibg=#ab0d0d'
vim.cmd 'match WhitespaceEOL /\\s\\+\\%#\\@<!$/'
vim.cmd 'highlight Visual cterm=bold ctermbg=Grey ctermfg=none'
vim.cmd 'highlight Search ctermfg=Black'
vim.cmd 'highlight SignColumn ctermbg=none'
vim.cmd 'highlight LineNr ctermbg=none ctermfg=LightGrey'
vim.cmd 'highlight Folded ctermbg=LightGrey ctermfg=Black'
vim.cmd 'highlight Pmenu ctermbg=253 ctermfg=Black'
vim.cmd 'let g:airline_theme=\'papercolor\''
vim.g.code_action_menu_window_border = 'single'