Remove text and markdown specific colorscheme

LSP breaks this because overlays with multiple lines are opened with a
filetype of text causing the colorscheme to change unpredictably and
sometimes break.

Moved wiki/diary specific colorscheme to a project specific config
outside of this repo.
This commit is contained in:
Thomas Gideon 2024-06-10 10:14:04 -04:00
parent 9d6de405f3
commit 45af25f204
7 changed files with 5 additions and 14 deletions

View file

@ -1,5 +1,3 @@
vim.cmd('setlocal fdm=indent') vim.cmd('setlocal fdm=indent')
vim.cmd('setlocal smartindent') vim.cmd('setlocal smartindent')
vim.cmd('setlocal list') vim.cmd('setlocal list')
-- set an alternate colorscheme from coding
vim.cmd('colorscheme breezy')

View file

@ -14,5 +14,3 @@ vim.cmd('setlocal nolist')
vim.cmd('setlocal formatoptions-=t') vim.cmd('setlocal formatoptions-=t')
-- turn off line width hint -- turn off line width hint
vim.cmd('setlocal colorcolumn=0') vim.cmd('setlocal colorcolumn=0')
-- set an alternate colorscheme from coding
vim.cmd('colorscheme quiet')

View file

@ -8,5 +8,3 @@ vim.cmd('setlocal nolist')
vim.cmd('setlocal formatoptions-=t') vim.cmd('setlocal formatoptions-=t')
-- turn off line width hint -- turn off line width hint
vim.cmd('setlocal colorcolumn=0') vim.cmd('setlocal colorcolumn=0')
-- set an alternate colorscheme from coding
vim.cmd('colorscheme quiet')

View file

@ -9,5 +9,3 @@ vim.opt.softtabstop = indent
vim.cmd('setlocal fdm=indent') vim.cmd('setlocal fdm=indent')
vim.cmd('setlocal smartindent') vim.cmd('setlocal smartindent')
vim.cmd('setlocal list') vim.cmd('setlocal list')
-- set an alternate colorscheme from coding
vim.cmd('colorscheme breezy')

View file

@ -54,7 +54,8 @@ vim.opt.expandtab = true
-- change buffer behaviors to no longer require changes when hiding a buffer -- change buffer behaviors to no longer require changes when hiding a buffer
vim.opt.hidden = true vim.opt.hidden = true
-- look for vimrc in the current director as well as $MYVIMRC -- look for vimrc in the current directory as well as $MYVIMRC
-- e.g. place .nvim.lua at the root of a project directory for project specific settings
vim.opt.exrc = true vim.opt.exrc = true
-- make looking for local changes secure -- make looking for local changes secure
vim.opt.secure = true vim.opt.secure = true
@ -95,8 +96,8 @@ vim.opt.pastetoggle = "<F2>"
vim.api.nvim_create_autocmd("FocusLost", {pattern = "*", command = "wa"}) vim.api.nvim_create_autocmd("FocusLost", {pattern = "*", command = "wa"})
-- make sure to set TERM to xterm-256color in terminal program or app -- make sure to set TERM to xterm-256color in terminal program or app
vim.cmd("colorscheme breezy") vim.cmd("colorscheme desert")
vim.opt.background = "light" vim.opt.background = "dark"
vim.opt.termguicolors = true vim.opt.termguicolors = true
-- ensure autoread works, to detect file changes outside the editor -- ensure autoread works, to detect file changes outside the editor

View file

@ -69,7 +69,7 @@ cmp.setup({
EOF EOF
" Set updatetime for CursorHold " Set updatetime for CursorHold
" 300ms of no cursor movement to trigger CursorHold " ms of no cursor movement to trigger CursorHold
set updatetime=750 set updatetime=750
" Show diagnostic popup on cursor hold " Show diagnostic popup on cursor hold
autocmd CursorHold * lua vim.diagnostic.open_float() autocmd CursorHold * lua vim.diagnostic.open_float()

View file

@ -13,8 +13,6 @@ Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'
" visualize vim's undo tree " visualize vim's undo tree
Plug 'mbbill/undotree' Plug 'mbbill/undotree'
" Preferred color scheme
Plug 'fneu/breezy'
" diagnostics display " diagnostics display
Plug 'folke/trouble.nvim' Plug 'folke/trouble.nvim'
" icons for Trouble " icons for Trouble