plugins: improve mkdnflow configuration

- Moves the lua block because it breaks the file color syntax.
- Disables mkdnflow modules that I don't use and that break my own
  settings (lists indentation).
- Adds a TODO for evaluating the feasability to replace vim-table by the
  tables module of mkdnflow.

Co-Authored-by: iGor milhit <igor@milhit.ch>
main
iGor milhit 2022-10-27 15:27:00 +02:00
parent 7c055de06e
commit 13a7e3860d
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 18 additions and 12 deletions

View File

@ -261,18 +261,6 @@ nnoremap <leader>? :Helptags<CR>
autocmd! User GoyoEnter Limelight
autocmd! User GoyoLeave Limelight!
" #########################################
" #########################################
" mkdnflow configuration
lua << EOF
require('mkdnflow').setup({
-- Config goes here; leave blank for defaults
links = {
conceal = true
}
})
EOF
" Syntax coloration and color theme
syntax enable
set background=light
@ -281,3 +269,21 @@ colorscheme edge
" Set the Semantic Menu highlight group
hi CocMenuSel ctermbg=252
" #########################################
" #########################################
" mkdnflow configuration
lua << EOF
require('mkdnflow').setup({
-- Config goes here; leave blank for defaults
links = {
conceal = true
},
modules = {
folds = false,
lists = false,
tables = false
-- TODO: evaluate if it could replace vim-table
}
})
EOF