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:
parent
9d6de405f3
commit
7fa9a38008
7 changed files with 4 additions and 13 deletions
|
@ -1,5 +1,3 @@
|
|||
vim.cmd('setlocal fdm=indent')
|
||||
vim.cmd('setlocal smartindent')
|
||||
vim.cmd('setlocal list')
|
||||
-- set an alternate colorscheme from coding
|
||||
vim.cmd('colorscheme breezy')
|
||||
|
|
|
@ -14,5 +14,3 @@ vim.cmd('setlocal nolist')
|
|||
vim.cmd('setlocal formatoptions-=t')
|
||||
-- turn off line width hint
|
||||
vim.cmd('setlocal colorcolumn=0')
|
||||
-- set an alternate colorscheme from coding
|
||||
vim.cmd('colorscheme quiet')
|
||||
|
|
|
@ -8,5 +8,3 @@ vim.cmd('setlocal nolist')
|
|||
vim.cmd('setlocal formatoptions-=t')
|
||||
-- turn off line width hint
|
||||
vim.cmd('setlocal colorcolumn=0')
|
||||
-- set an alternate colorscheme from coding
|
||||
vim.cmd('colorscheme quiet')
|
||||
|
|
|
@ -9,5 +9,3 @@ vim.opt.softtabstop = indent
|
|||
vim.cmd('setlocal fdm=indent')
|
||||
vim.cmd('setlocal smartindent')
|
||||
vim.cmd('setlocal list')
|
||||
-- set an alternate colorscheme from coding
|
||||
vim.cmd('colorscheme breezy')
|
||||
|
|
5
init.lua
5
init.lua
|
@ -54,7 +54,8 @@ vim.opt.expandtab = true
|
|||
-- change buffer behaviors to no longer require changes when hiding a buffer
|
||||
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
|
||||
-- make looking for local changes secure
|
||||
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
|
||||
vim.cmd("colorscheme breezy")
|
||||
vim.opt.background = "light"
|
||||
vim.opt.background = "dark"
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
-- ensure autoread works, to detect file changes outside the editor
|
||||
|
|
2
lsp.vim
2
lsp.vim
|
@ -69,7 +69,7 @@ cmp.setup({
|
|||
EOF
|
||||
|
||||
" Set updatetime for CursorHold
|
||||
" 300ms of no cursor movement to trigger CursorHold
|
||||
" ms of no cursor movement to trigger CursorHold
|
||||
set updatetime=750
|
||||
" Show diagnostic popup on cursor hold
|
||||
autocmd CursorHold * lua vim.diagnostic.open_float()
|
||||
|
|
2
plug.vim
2
plug.vim
|
@ -13,8 +13,6 @@ Plug 'vim-airline/vim-airline'
|
|||
Plug 'vim-airline/vim-airline-themes'
|
||||
" visualize vim's undo tree
|
||||
Plug 'mbbill/undotree'
|
||||
" Preferred color scheme
|
||||
Plug 'fneu/breezy'
|
||||
" diagnostics display
|
||||
Plug 'folke/trouble.nvim'
|
||||
" icons for Trouble
|
||||
|
|
Loading…
Reference in a new issue