mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-28 21:51:26 +02:00
neovim: Remove markdown conceal
Was causing more issues than problems it solved. Markdown conceal can be successfully achieved with an external browser window.
This commit is contained in:
parent
075e1b6f13
commit
6991587294
@ -98,11 +98,6 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."nvim/after/syntax/markdown.vim".text = /* vim */ ''
|
|
||||||
syn region markdownLink matchgroup=markdownLinkDelimiter start="(" end=")" contains=markdownUrl keepend contained conceal
|
|
||||||
syn region markdownLinkText matchgroup=markdownLinkTextDelimiter start="!\=\[\%(\%(\_[^][]\|\[\_[^][]*\]\)*]\%( \=[[(]\)\)\@=" end="\]\%( \=[[(]\)\@=" nextgroup=markdownLink,markdownId skipwhite contains=@markdownInline,markdownLineStart concealends
|
|
||||||
'';
|
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = /* vim */ ''
|
extraConfig = /* vim */ ''
|
||||||
@ -124,7 +119,6 @@ in
|
|||||||
set tabstop=4 " Show a tab character as 4 spaces
|
set tabstop=4 " Show a tab character as 4 spaces
|
||||||
set softtabstop=0 " Edit soft tabs as if they're regular spaces
|
set softtabstop=0 " Edit soft tabs as if they're regular spaces
|
||||||
set shiftwidth=4 " Make autoindent appear as 4 spaces
|
set shiftwidth=4 " Make autoindent appear as 4 spaces
|
||||||
set conceallevel=2
|
|
||||||
|
|
||||||
set foldmethod=indent
|
set foldmethod=indent
|
||||||
set foldlevelstart=99
|
set foldlevelstart=99
|
||||||
|
Loading…
x
Reference in New Issue
Block a user