selection_word_boundary

Since: 20210203-095643-70a364eb

Configures the boundaries of a word, thus what is selected when doing a word selection with the mouse. (See mouse actions SelectTextAtMouseCursor & ExtendSelectionToMouseCursor with the mode argument set to Word)

Defaults to " \t\n{}[]()\"'`".

For example, to always include spaces and newline when selecting a word, but stop on punctuations:

return {
  selection_word_boundary = '{}[]()"\'`.,;:',
}