Skip to content

Commit

Permalink
fix: workaround rainbow freeze on large markdown
Browse files Browse the repository at this point in the history
rm markdown-toc & quickui
  • Loading branch information
aceforeverd committed Nov 22, 2023
1 parent 1eaf257 commit 8a56c4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 73 deletions.
5 changes: 0 additions & 5 deletions autoload/aceforeverd/plugin.vim
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ function! aceforeverd#plugin#init() abort
call s:plugin_add('wincent/terminus')
call s:plugin_add('vifm/vifm.vim')
call s:plugin_add('justinmk/vim-gtfo')
call s:plugin_add('skywind3000/vim-quickui')

" motion
call s:plugin_add('rhysd/clever-f.vim')
Expand Down Expand Up @@ -187,8 +186,6 @@ function! aceforeverd#plugin#init() abort

" vimL
call s:plugin_add('tweekmonster/helpful.vim')
" markdown
call s:plugin_add('mzlogin/vim-markdown-toc')

call s:plugin_add('iamcco/markdown-preview.nvim', {
\ 'type': 'opt',
Expand Down Expand Up @@ -496,8 +493,6 @@ function! s:config_plugins() abort
" llvm
let g:llvm_ext_no_mapping = 0

call aceforeverd#ui#setup()

" terminus has different defaults for cursor shape, disable it
let g:TerminusCursorShape = 0

Expand Down
62 changes: 0 additions & 62 deletions autoload/aceforeverd/ui.vim

This file was deleted.

9 changes: 3 additions & 6 deletions lua/aceforeverd/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,6 @@ M.plugin_list = {
vim.g.rainbow_delimiters = {
strategy = {
[''] = rainbow_delimiters.strategy['global'],
vim = rainbow_delimiters.strategy['local'],
},
query = {
[''] = 'rainbow-delimiters',
Expand All @@ -493,6 +492,9 @@ M.plugin_list = {
'RainbowDelimiterViolet',
'RainbowDelimiterCyan',
},
blacklist = {
'markdown', -- nvim freeze when opening large markdown, as a temporizingly solution
},
}
end,
},
Expand Down Expand Up @@ -755,11 +757,6 @@ M.plugin_list = {
},
},

{
'sakhnik/nvim-gdb',
lazy = true,
},

{
'kevinhwang91/nvim-bqf',
ft = { 'qf' },
Expand Down

0 comments on commit 8a56c4b

Please sign in to comment.