[[render-markdown.nvim]]ではデフォルトだと見出しは①②みたいに表示されるが、かえって見にくくなるので無効化する方法。 `markdown_query`にデフォルト値から該当箇所を削除したものを指定する。 デフォルト値は以下。 ```lua require('render-markdown').setup({ markdown_query = [[ (atx_heading [ (atx_h1_marker) (atx_h2_marker) (atx_h3_marker) (atx_h4_marker) (atx_h5_marker) (atx_h6_marker) ] @heading) (thematic_break) @dash (fenced_code_block) @code [ (list_marker_plus) (list_marker_minus) (list_marker_star) ] @list_marker (task_list_marker_unchecked) @checkbox_unchecked (task_list_marker_checked) @checkbox_checked (block_quote (block_quote_marker) @quote_marker) (block_quote (paragraph (inline (block_continuation) @quote_marker))) (pipe_table) @table (pipe_table_header) @table_head (pipe_table_delimiter_row) @table_delim (pipe_table_row) @table_row ]], ``` `atx_heading`から`@heading)`を削除。 ```lua require('render-markdown').setup({ markdown_query = [[ (thematic_break) @dash (fenced_code_block) @code [ (list_marker_plus) (list_marker_minus) (list_marker_star) ] @list_marker (task_list_marker_unchecked) @checkbox_unchecked (task_list_marker_checked) @checkbox_checked (block_quote (block_quote_marker) @quote_marker) (block_quote (paragraph (inline (block_continuation) @quote_marker))) (pipe_table) @table (pipe_table_header) @table_head (pipe_table_delimiter_row) @table_delim (pipe_table_row) @table_row ]], ```