mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
syntax: add const to get_syntax_attr() params
This commit is contained in:
@@ -1568,9 +1568,9 @@ syn_finish_line(
|
||||
*/
|
||||
int
|
||||
get_syntax_attr(
|
||||
colnr_T col,
|
||||
bool *can_spell,
|
||||
int keep_state /* keep state of char at "col" */
|
||||
const colnr_T col,
|
||||
bool *const can_spell,
|
||||
const bool keep_state // keep state of char at "col"
|
||||
)
|
||||
{
|
||||
int attr = 0;
|
||||
|
Reference in New Issue
Block a user