File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ function updateCommentType(buf)
6969 -- NOTE: This won't get triggered if a filetype is change via `setlocal filetype`
7070 -- since it is not registered with `RegisterGlobalOption()``
7171 if buf .Settings [" commenttype" ] ~= nil then
72- micro .InfoBar ():Error (" \" commenttype\" option has been renamed to \" comment.type\" " ,
73- " , please update your configuration" )
7472 buf :DoSetOptionNative (" comment.type" , buf .Settings [" commenttype" ])
7573 else
7674 if (ft [buf .Settings [" filetype" ]] ~= nil ) then
Original file line number Diff line number Diff line change @@ -95,3 +95,8 @@ Or in your `settings.json`:
9595 }
9696}
9797```
98+
99+ ` commenttype ` was the previous option name that was replaced by ` comment.type ` .
100+
101+ While ` commenttype ` is still supported, we recommend switching to ` comment.type ` instead as
102+ ` commenttype ` can get deprecated in the future.
You can’t perform that action at this time.
0 commit comments