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
45af25f204
7 changed files with 5 additions and 14 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')
|
||||
|
|
7
init.lua
7
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
|
||||
|
@ -95,8 +96,8 @@ vim.opt.pastetoggle = "<F2>"
|
|||
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.cmd("colorscheme desert")
|
||||
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