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 89121239c2
6 changed files with 4 additions and 11 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
@ -96,7 +97,7 @@ 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 breezy")
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()