Skip to content

Commit

Permalink
fixbug: digestif init argument error
Browse files Browse the repository at this point in the history
In Mac, digestif error with:"Failed to initialize digestif with error 1: /usr/local/texlive/2023/texmf-dist/scripts/digestif/digesti:110: Invalid configuration option: diagnostics = "true"
  • Loading branch information
p1ain0 authored and mattn committed Jun 10, 2024
1 parent ea5e7b3 commit 2cad696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/digestif.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ augroup vim_lsp_settings_digestif
\ 'name': 'digestif',
\ 'cmd': {server_info->lsp_settings#get('digestif', 'cmd', [lsp_settings#exec_path('digestif')]+lsp_settings#get('digestif', 'args', []))},
\ 'root_uri':{server_info->lsp_settings#get('digestif', 'root_uri', lsp_settings#root_uri('digestif'))},
\ 'initialization_options': lsp_settings#get('digestif', 'initialization_options', v:null),
\ 'initialization_options': lsp_settings#get('digestif', 'initialization_options', has('macunix') ? v:null : {'diagnostics': 'true'}),
\ 'allowlist': lsp_settings#get('digestif', 'allowlist', ['plaintex', 'tex']),
\ 'blocklist': lsp_settings#get('digestif', 'blocklist', []),
\ 'config': lsp_settings#get('digestif', 'config', lsp_settings#server_config('digestif')),
Expand Down

0 comments on commit 2cad696

Please sign in to comment.