Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default value of ligatures in help #2452

Closed
TheCoolDinosuar opened this issue Aug 5, 2022 · 1 comment
Closed

Add default value of ligatures in help #2452

TheCoolDinosuar opened this issue Aug 5, 2022 · 1 comment

Comments

@TheCoolDinosuar
Copy link

In :h vimtex_syntax_conceal, the code that shows the default value doesn't show the value of g:vimtex_syntax_conceal.ligatures, which is 1.
This is what it is currently:

    let g:vimtex_syntax_conceal = {
          \ 'accents': 1,
          \ 'cites': 1,
          \ 'fancy': 1,
          \ 'greek': 1,
          \ 'math_bounds': 1,
          \ 'math_delimiters': 1,
          \ 'math_fracs': 1,                                                                                                  
          \ 'math_super_sub': 1,
          \ 'math_symbols': 1,
          \ 'sections': 0,
          \ 'styles': 1,
          \}

Solution:
In doc/vimtex.txt It should be

    let g:vimtex_syntax_conceal = {
          \ 'accents': 1,
          \ 'ligatures': 1,
          \ 'cites': 1,
          \ 'fancy': 1,
          \ 'greek': 1,
          \ 'math_bounds': 1,
          \ 'math_delimiters': 1,
          \ 'math_fracs': 1,                                                                                                  
          \ 'math_super_sub': 1,
          \ 'math_symbols': 1,
          \ 'sections': 0,
          \ 'styles': 1,
          \}

I'm not sure if opening an issue is the correct way to report such a small issue, or if I should create a pr instead. Thank you for creating this plugin!

lervag added a commit that referenced this issue Aug 5, 2022
@lervag
Copy link
Owner

lervag commented Aug 5, 2022

In :h vimtex_syntax_conceal, the code that shows the default value doesn't show the value of g:vimtex_syntax_conceal.ligatures, which is 1.

Thanks! Nice catch! I've updated now.

I'm not sure if opening an issue is the correct way to report such a small issue, or if I should create a pr instead. Thank you for creating this plugin!

This was perfect. PR is of course also great, but not necessary for such simple things.

And glad to hear you like the plugin!

@lervag lervag closed this as completed Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants