Home Explore Blog CI



neovim

30th chunk of `runtime/doc/options.txt`
7179a9eb632efabd190907ef6a6e4cfbce0df11402cf8b960000000100000fa2
 also have
	this option set) move their cursors to the corresponding line and
	column.  This option is useful for viewing the
	differences between two versions of a file (see 'diff'); in diff mode,
	inserted and deleted lines (though not characters within a line) are
	taken into account.

			*'cursorcolumn'* *'cuc'* *'nocursorcolumn'* *'nocuc'*
'cursorcolumn' 'cuc'	boolean	(default off)
			local to window
	Highlight the screen column of the cursor with CursorColumn
	|hl-CursorColumn|.  Useful to align text.  Will make screen redrawing
	slower.
	If you only want the highlighting in the current window you can use
	these autocommands: >vim
		au WinLeave * set nocursorline nocursorcolumn
		au WinEnter * set cursorline cursorcolumn
<

			*'cursorline'* *'cul'* *'nocursorline'* *'nocul'*
'cursorline' 'cul'	boolean	(default off)
			local to window
	Highlight the text line of the cursor with CursorLine |hl-CursorLine|.
	Useful to easily spot the cursor.  Will make screen redrawing slower.
	When Visual mode is active the highlighting isn't used to make it
	easier to see the selected text.

					*'cursorlineopt'* *'culopt'*
'cursorlineopt' 'culopt'	string	(default "both")
			local to window
	Comma-separated list of settings for how 'cursorline' is displayed.
	Valid values:
	"line"		Highlight the text line of the cursor with
			CursorLine |hl-CursorLine|.
	"screenline"	Highlight only the screen line of the cursor with
			CursorLine |hl-CursorLine|.
	"number"	Highlight the line number of the cursor with
			CursorLineNr |hl-CursorLineNr|.

	Special value:
	"both"		Alias for the values "line,number".

	"line" and "screenline" cannot be used together.

							*'debug'*
'debug'			string	(default "")
			global
	These values can be used:
	msg	Error messages that would otherwise be omitted will be given
		anyway.
	throw	Error messages that would otherwise be omitted will be given
		anyway and also throw an exception and set |v:errmsg|.
	beep	A message will be given when otherwise only a beep would be
		produced.
	The values can be combined, separated by a comma.
	"msg" and "throw" are useful for debugging 'foldexpr', 'formatexpr' or
	'indentexpr'.

						*'define'* *'def'*
'define' 'def'		string	(default "")
			global or local to buffer |global-local|
	Pattern to be used to find a macro definition.  It is a search
	pattern, just like for the "/" command.  This option is used for the
	commands like "[i" and "[d" |include-search|.  The 'isident' option is
	used to recognize the defined name after the match: >
		{match with 'define'}{non-ID chars}{defined name}{non-ID char}
<	See |option-backslash| about inserting backslashes to include a space
	or backslash.
	For C++ this value would be useful, to include const type declarations: >
		^\(#\s*define\|[a-z]*\s*const\s*[a-z]*\)
<	You can also use "\ze" just before the name and continue the pattern
	to check what is following.  E.g. for Javascript, if a function is
	defined with `func_name = function(args)`: >
		^\s*\ze\i\+\s*=\s*function(
<	If the function is defined with `func_name : function() {...`: >
	        ^\s*\ze\i\+\s*[:]\s*(*function\s*(
<	When using the ":set" command, you need to double the backslashes!
	To avoid that use `:let` with a single quote string: >vim
		let &l:define = '^\s*\ze\k\+\s*=\s*function('
<

			*'delcombine'* *'deco'* *'nodelcombine'* *'nodeco'*
'delcombine' 'deco'	boolean	(default off)
			global
	If editing Unicode and this option is set, backspace and Normal mode
	"x" delete each combining character on its own.  When it is off (the
	default) the character along with its combining characters are
	deleted.
	Note: When 'delcombine' is set "xx" may work differently from "2x"!

	This is useful for Arabic, Hebrew and many other languages where one
	may have combining characters overtop of base characters, and want
	to remove only the combining ones.

						*'dictionary'* *'dict'*
'dictionary' 'dict'	string	(default "")
			global or local to buffer |global-local|
	List of file

Title: Vim Cursorline Options, Debugging, Definition Search, Unicode Combining Characters and Dictionary Settings
Summary
This section delves into the specifics of the 'cursorlineopt' option, detailing how it can be configured to highlight the text line, screen line, or line number of the cursor. Additionally, it explains the 'debug' option and its values ('msg', 'throw', 'beep') for displaying error messages and debugging expressions. It covers the 'define' option for searching macro definitions, and the 'delcombine' option for handling Unicode combining characters during deletion. Lastly, it introduces the 'dictionary' option.