news-0.10.txt 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. *news-10.txt* Nvim
  2. NVIM REFERENCE MANUAL
  3. Notable changes since Nvim 0.9 *news-0.10*
  4. For changes in the previous release, see |news-0.9|.
  5. Type |gO| to see the table of contents.
  6. ==============================================================================
  7. BREAKING CHANGES
  8. These changes may require adaptations in your config or plugins.
  9. • API:
  10. • |nvim_open_win()| now blocks all autocommands when `noautocmd` is set,
  11. rather than just those from setting the `buffer` to display in the window.
  12. • Defaults:
  13. • Default color scheme has been updated to be "Nvim branded" and accessible.
  14. Use `:colorscheme vim` to revert to the old legacy color scheme.
  15. • These Nvim specific highlight groups are now defined in a meaningfully
  16. different way and might need an update:
  17. • |hl-FloatBorder| is linked to |hl-NormalFloat| instead of |hl-WinSeparator|.
  18. • |hl-NormalFloat| is not linked to |hl-Pmenu|.
  19. • |hl-WinBar| has different background.
  20. • |hl-WinBarNC| is similar to |hl-WinBar| but not bold.
  21. • |hl-WinSeparator| is linked to |hl-Normal| instead of |hl-VertSplit|.
  22. • This also might result into some color schemes looking differently due
  23. to them relying on implicit assumptions about how highlight groups are
  24. defined by default. To account for this, define all attributes of
  25. highlight groups explicitly. Alternatively, use `:colorscheme vim` or
  26. `:source $VIMRUNTIME/colors/vim.lua` to restore previous definitions.
  27. • 'termguicolors' is enabled by default when Nvim is able to determine that
  28. the host terminal emulator supports 24-bit color.
  29. • Editor:
  30. • When switching windows, |CursorMoved| autocommands trigger when Nvim is
  31. back on the main loop rather than immediately. This is more compatible
  32. with Vim.
  33. • "#" followed by a digit no longer stands for a function key at the start
  34. of the lhs of a mapping.
  35. • |shm-q| now fully hides macro recording message instead of only shortening it.
  36. • Signs placed through the legacy |sign-commands| are now stored and
  37. displayed as |extmarks| internally. Along with the following changes:
  38. • A sign placed twice in the same group with the same identifier will be
  39. moved.
  40. • Legacy signs are always deleted along with the line it is placed on.
  41. • Legacy and extmark signs will show up in both |:sign-place-list| and
  42. |nvim_buf_get_extmarks()|.
  43. • Legacy and extmark signs are displayed and listed with the same priority:
  44. line number -> priority -> sign id -> recently placed
  45. • `:behave` was removed.
  46. • If you used `:behave xterm`, the following is equivalent: >vim
  47. set mousemodel=extend
  48. <
  49. • If you used `:behave mswin`, the following is equivalent: >vim
  50. set selection=exclusive
  51. set selectmode=mouse,key
  52. set mousemodel=popup
  53. set keymodel=startsel,stopsel
  54. <
  55. • Events:
  56. • Returning any truthy value from a callback passed to
  57. |nvim_create_autocmd()| (rather than just `true`) will delete the
  58. autocommand.
  59. • LSP:
  60. • |LanguageTree:parse()| will no longer parse injections by default and now
  61. requires an explicit range argument to be passed. If injections are
  62. required, provide an explicit range via `parser:parse({ start_row, end_row })`.
  63. • |vim.lsp.util.parse_snippet()| will now strictly follow the snippet
  64. grammar defined by LSP, and hence previously parsed snippets might now be
  65. considered invalid input.
  66. • |vim.lsp.codelens.refresh()| now takes an `opts` argument. With this
  67. change, the default behavior of just refreshing the current buffer has
  68. been replaced by refreshing all buffers.
  69. • |vim.lsp.util.extract_completion_items()| will no longer return reliable
  70. results, since it does not apply `itemDefaults` when its input is
  71. a `CompletionList`. Moreover, since support for LSP
  72. `completionList.itemDefaults` was added, some third party plugins might be
  73. negatively impacted in case the language servers support the feature but
  74. the plugin does not. If necessary, the respective capability can be
  75. removed when calling |vim.lsp.protocol.make_client_capabilities()|.
  76. • |LspRequest| and LspProgressUpdate (renamed to |LspProgress|) autocmds
  77. were promoted from |User| autocmds to first class citizens.
  78. • Lua:
  79. • |-l| ensures output ends with a newline if the script prints messages and
  80. doesn't cause Nvim to exit.
  81. • Removed functions from the |vim.json| module:
  82. • Unnecessary, undocumented functions which caused global side-effects.
  83. • `vim.json.null` is redundant with `vim.NIL`.
  84. • `vim.json.array_mt` (and related) is redundant with `vim.empty_dict()`.
  85. • |vim.islist()| now checks whether a table is actually list-like (i.e., has
  86. integer keys without gaps and starting from 1). For the previous behavior
  87. (only check for integer keys, allow gaps or not starting with 1), use
  88. |vim.isarray()|.
  89. • Renamed `vim.treesitter.playground` to `vim.treesitter.dev`.
  90. • Options:
  91. • Removed some Vim 5.0<= option compatibilities:
  92. • 'backspace' no longer supports number values. Instead:
  93. • for `backspace=0` set `backspace=` (empty)
  94. • for `backspace=1` set `backspace=indent,eol`
  95. • for `backspace=2` set `backspace=indent,eol,start` (default behavior in Nvim)
  96. • for `backspace=3` set `backspace=indent,eol,nostop`
  97. • 'backupdir' and 'directory' will no longer remove a `>` at the start of
  98. the option.
  99. • |OptionSet| autocommand args |v:option_new|, |v:option_old|,
  100. |v:option_oldlocal|, |v:option_oldglobal| now have the type of the option
  101. instead of always being strings. |v:option_old| is now the old global
  102. value for all global-local options, instead of just string global-local
  103. options.
  104. • Local value for a global-local number/boolean option is now unset when the
  105. option is set (e.g. using |:set| or |nvim_set_option_value()|) without
  106. a scope, which means they now behave the same way as string options.
  107. • Plugins:
  108. • |:TOhtml| has been rewritten in Lua to support Nvim-specific decorations,
  109. and many options have been removed.
  110. • Treesitter:
  111. • Treesitter highlight groups have been renamed to be more in line with
  112. upstream tree-sitter and Helix to make it easier to share queries. The
  113. full list is documented in |treesitter-highlight-groups|.
  114. • TUI:
  115. • In some cases, the cursor in the Nvim |TUI| used to blink even without
  116. configuring 'guicursor' as mentioned in |cursor-blinking|. This was a bug
  117. that has now been fixed. If your cursor has stopped blinking, add the
  118. following (or similar, adapted to user preference) to your |config| file: >vim
  119. set guicursor+=n-v-c:blinkon500-blinkoff500
  120. <
  121. ==============================================================================
  122. NEW FEATURES
  123. The following new features were added.
  124. • API:
  125. • Passing 0 to |nvim_get_chan_info()| gets info about the current channel.
  126. • |nvim_buf_set_extmark()| supports inline virtual text.
  127. • |nvim_win_text_height()| computes the number of screen lines occupied
  128. by a range of text in a given window.
  129. • New RPC client type `msgpack-rpc` is added for |nvim_set_client_info()| to
  130. support fully MessagePack-RPC compliant clients.
  131. • Floating windows can now be hidden by setting `hide` in |nvim_open_win()| or
  132. |nvim_win_set_config()|.
  133. • |nvim_input_mouse()| supports mouse buttons "x1" and "x2".
  134. • Added "force_crlf" option field in |nvim_open_term()|.
  135. • Added |nvim_tabpage_set_win()| to set the current window of a tabpage.
  136. • Mapping APIs now support abbreviations when mode short-name has suffix "a".
  137. • Floating windows can now show footer with new `footer` and `footer_pos`
  138. config fields. Uses |hl-FloatFooter| by default.
  139. • |extmarks| can set a "url" highlight attribute, so the text region can
  140. become a clickable hyperlink (assuming UI support). The TUI renders URLs
  141. using the OSC 8 control sequence, enabling clickable text in supporting
  142. terminals.
  143. • |nvim_open_win()| and |nvim_win_set_config()| now support opening normal
  144. (split) windows, moving floating windows into split windows, and opening
  145. windows in non-current tabpages.
  146. • Flags added to |nvim_buf_set_extmark()|:
  147. • "undo_restore": opt-out extmarks of precise undo tracking.
  148. • "invalidate": automatically hide or delete extmarks.
  149. • "virt_text_repeat_linebreak": repeat virtual text on wrapped lines.
  150. • Extmarks now fully support multi-line ranges, and a single extmark can be
  151. used to highlight a range of arbitrary length. The |nvim_buf_set_extmark()|
  152. API function already allowed you to define such ranges, but highlight
  153. regions were not rendered consistently for a range that covers more than
  154. one line break. This has now been fixed. Signs defined as part of
  155. a multi-line extmark also apply to every line in the range, not just the
  156. first. In addition, |nvim_buf_get_extmarks()| has gained an "overlap"
  157. option to return such ranges even if they started before the specified
  158. position.
  159. • Defaults:
  160. • The `workspace/didChangeWatchedFiles` LSP client capability is now enabled
  161. by default on Mac and Windows. Disabled on Linux since there currently
  162. isn't a viable backend for watching files that scales well for large
  163. directories.
  164. • On Windows 'isfname' does not include ":". Drive letters are handled
  165. correctly without it. (Use |gF| for filepaths suffixed with ":line:col").
  166. • 'comments' includes "fb:•".
  167. • 'shortmess' includes the "C" flag.
  168. • 'grepprg' uses the -H and -I flags for grep by default,
  169. and defaults to using ripgrep if available.
  170. • "]d" and "[d" in Normal mode map to |vim.diagnostic.goto_next()| and
  171. |vim.diagnostic.goto_prev()|, respectively. |]d-default| |[d-default|
  172. • <C-W>d (and <C-W><C-D>) map to |vim.diagnostic.open_float()|
  173. |CTRL-W_d-default|
  174. • |vim.lsp.start()| sets the following default keymaps (assuming server
  175. support):
  176. • |K| in Normal mode maps to |vim.lsp.buf.hover()|, unless 'keywordprg'
  177. was customized before calling |vim.lsp.start()|.
  178. • Automatic linting of treesitter query files (see |ft-query-plugin|).
  179. Can be disabled via: >lua
  180. vim.g.query_lint_on = {}
  181. <
  182. • Enabled treesitter highlighting for:
  183. • Treesitter query files
  184. • Vim help files
  185. • Lua files
  186. • Editor:
  187. • Better cmdline completion for string option value. |complete-set-option|
  188. • Try it with `:set listchars=<Tab>`
  189. • By default, the swapfile "ATTENTION" |E325| dialog is skipped if the
  190. swapfile is owned by a running Nvim process, instead of prompting. If you
  191. always want the swapfile dialog, delete the default SwapExists handler:
  192. `autocmd! nvim_swapfile`. |default-autocmds|
  193. • Navigating the |jumplist| with CTRL+O, CTRL+I behaves more intuitively
  194. when deleting buffers, and avoids "invalid buffer" cases. #25461
  195. • |:fclose| command.
  196. • |v_Q-default| and |v_@-default| repeat a register for each line of a linewise
  197. visual selection.
  198. • Clicking on a tabpage in the tabline with the middle mouse button closes it.
  199. • |:checkhealth| buffer can be opened in a split window using modifiers like
  200. |:vertical|, |:horizontal| and |:botright|.
  201. • Events:
  202. • |vim.on_key()| callbacks receive a second argument for keys typed before
  203. mappings are applied.
  204. • LSP:
  205. • LSP method names are available in |vim.lsp.protocol.Methods|.
  206. • Implemented LSP inlay hints: |lsp-inlay_hint|
  207. https://microsoft.github.io/language-server-protocol/specification/#textDocument_inlayHint
  208. • Implemented pull diagnostic textDocument/diagnostic: |vim.lsp.diagnostic.on_diagnostic()|
  209. https://microsoft.github.io/language-server-protocol/specification/#textDocument_diagnostic
  210. • Implemented LSP type hierarchy: |vim.lsp.buf.typehierarchy()|
  211. https://microsoft.github.io/language-server-protocol/specification/#textDocument_prepareTypeHierarchy
  212. • |vim.lsp.status()| consumes the last progress messages as a string.
  213. • LSP client now always saves and restores named buffer marks when applying
  214. text edits.
  215. • LSP client now supports the `positionEncoding` server capability. If a server
  216. responds with the `positionEncoding` capability in its initialization
  217. response, Nvim automatically sets the client's `offset_encoding` field.
  218. • Dynamic registration of LSP capabilities. An implication of this change is
  219. that checking a client's `server_capabilities` is no longer a sufficient
  220. indicator to see if a server supports a feature. Instead use
  221. `client.supports_method(<method>)`. It considers both the dynamic
  222. capabilities and static `server_capabilities`.
  223. • `anchor_bias` option to lsp-handlers aids in positioning of floating
  224. windows.
  225. • |vim.lsp.util.locations_to_items()| sets the `user_data` of each item to
  226. the original LSP `Location` or `LocationLink`.
  227. • Added support for connecting to servers using named pipes (Windows) or
  228. Unix domain sockets (Unix) via |vim.lsp.rpc.connect()|.
  229. • Added support for `completionList.itemDefaults`, reducing overhead when
  230. computing completion items where properties often share the same value
  231. (e.g. `commitCharacters`). Note that this might affect plugins and
  232. language servers that don't support the feature, and in such cases the
  233. respective capability can be unset.
  234. • |vim.lsp.start()| accepts a "silent" option for suppressing messages
  235. if an LSP server failed to start.
  236. • |vim.lsp.buf.definition()|, |vim.lsp.buf.declaration()|,
  237. |vim.lsp.buf.type_definition()|, and |vim.lsp.buf.implementation()| now
  238. support the `loclist` field of |vim.lsp.ListOpts|.
  239. • Lua:
  240. • |:lua| with a |[range]| executes that range as Lua code, in any buffer.
  241. • |:source| without arguments treats a buffer with 'filetype' of "lua" as
  242. Lua code regardless of its extension.
  243. • Vimscript function |exists()| supports checking |v:lua| functions.
  244. • |vim.iter()| is a generic interface for all |iterable| objects (tables,
  245. |iterator|s).
  246. • |vim.snippet| provides a mode for expanding and navigating snippets.
  247. • |vim.ringbuf()| is a generic ring buffer (data structure).
  248. • |vim.deepcopy()| gained a `noref` argument to avoid hashing table values.
  249. • |vim.keycode()| translates keycodes in a string.
  250. • |vim.system()| runs commands / starts processes.
  251. • |vim.lpeg| and |vim.re| expose the bundled Lpeg expression grammar parser
  252. and its regex interface.
  253. • |vim.base64.encode()| and |vim.base64.decode()| encode and decode strings
  254. using Base64 encoding.
  255. • |vim.text.hexencode()| and |vim.text.hexdecode()| convert strings to and
  256. from byte representations.
  257. • |vim.ui.open()| opens URIs using the system default handler (macOS `open`,
  258. Windows `explorer`, Linux `xdg-open`, etc.)
  259. • |vim.wo| can now be double indexed for |:setlocal| behaviour. Currently
  260. only `0` for the buffer index is supported.
  261. • Improved messages for type errors in `vim.api.*` calls (including `opts` params).
  262. • Lua type annotations for:
  263. • `vim.*`
  264. • `vim.fn.*`
  265. • `vim.api.*`
  266. • `vim.v.*`
  267. • Functions that take a severity as an optional parameter (e.g.
  268. |vim.diagnostic.get()|) now also accept a list of severities |vim.diagnostic.severity|
  269. • |vim.diagnostic.count()| returns the number of diagnostics for a given
  270. buffer and/or namespace, by severity. This is a faster alternative to
  271. |vim.diagnostic.get()| when only the number of diagnostics is needed, but
  272. not the diagnostics themselves.
  273. • |vim.diagnostic.is_enabled()|
  274. • |vim.version.le()|, |vim.version.ge()|
  275. • |vim.fs.root()| finds project root directories from a list of "root
  276. markers".
  277. • |vim.tbl_contains()| now works for general tables and allows specifying
  278. a predicate function that is checked for each value. (Use
  279. |vim.list_contains()| for checking list-like tables (integer keys without
  280. gaps) for literal values.)
  281. • vim.region() can use a string accepted by |getpos()| as position.
  282. • Options:
  283. • 'winfixbuf' keeps a window focused onto a specific buffer
  284. • 'smoothscroll' option to scroll by screen line rather than by text line
  285. when 'wrap' is set.
  286. • 'foldtext' now supports virtual text format. |fold-foldtext|
  287. • 'foldtext' can be set to an empty string to disable and render the line:
  288. as normal with regular highlighting and no line wrapping.
  289. • 'complete' option supports "f" flag for completing buffer names.
  290. • 'completeopt' option supports "popup" flag to show extra information in
  291. a floating window.
  292. • 'errorfile' (|-q|) accepts `-` as an alias for stdin.
  293. • Performance:
  294. • 'diffopt' "linematch" scoring algorithm now favours larger and less groups
  295. https://github.com/neovim/neovim/pull/23611
  296. • Treesitter highlighting now parses injections incrementally during
  297. screen redraws only for the line range being rendered. This significantly
  298. improves performance in large files with many injections.
  299. • 'breakindent' performance is significantly improved for wrapped lines.
  300. • Cursor movement, insertion with [count] and |screenpos()| are now faster.
  301. • Plugins:
  302. • Nvim now includes |commenting| support.
  303. • |:Man| supports the `:hide` modifier to open page in the current window.
  304. • |:Man| respects 'wrapmargin'
  305. • Startup:
  306. • |$NVIM_APPNAME| can be set to a relative path instead of only a name.
  307. • |--startuptime| reports startup times for both processes (TUI + server) as
  308. separate sections.
  309. • Terminal:
  310. • |:terminal| accepts some |:command-modifiers| (specifically |:horizontal|
  311. and those that affect splitting a window).
  312. • Terminal buffers emit a |TermRequest| autocommand event when the child
  313. process emits an OSC or DCS control sequence.
  314. • Terminal buffers respond to OSC background and foreground requests.
  315. |default-autocmds|
  316. • Treesitter:
  317. • Bundled parser and queries (highlight, folds) for Markdown (used for LSP
  318. hover).
  319. • |:InspectTree| shows root nodes.
  320. • |:InspectTree| now supports |folding|.
  321. • |:InspectTree| shows node ranges in 0-based instead of 1-based indexing.
  322. • |vim.treesitter.foldexpr()| now recognizes folds captured using a
  323. quantified query pattern.
  324. • |vim.treesitter.query.omnifunc()| provides completion in treesitter query
  325. files (set by default).
  326. • |vim.treesitter.query.edit()| provides live editing of treesitter queries.
  327. • |Query:iter_matches()| now has the ability to set the maximum start depth
  328. for matches.
  329. • `@injection.language` now has smarter resolution and will fall back to
  330. language aliases (e.g., filetype or custom shorthands) registered via
  331. |vim.treesitter.language.register()| and/or attempt lower case variants of
  332. the text.
  333. • `@injection.filename` will try to match the node text via
  334. |vim.filetype.match()| and treat the result as a language name in the same
  335. way as `@injection.language`.
  336. • The `#set!` directive supports `injection.self` and `injection.parent` for
  337. injecting either the current node's language or the parent
  338. |LanguageTree|'s language, respectively.
  339. • The `#set!` directive can set the "url" property of a node to have the
  340. node emit a hyperlink. Hyperlinks are UI specific: in the TUI, the OSC 8
  341. control sequence is used.
  342. • Improved error messages for query parsing.
  343. • TUI:
  344. • Builtin TUI can now recognize "super" (|<D-|) and "meta" (|<T-|) modifiers
  345. in a terminal emulator that supports |tui-csiu|.
  346. • The |TermResponse| event can be used with |v:termresponse| to read escape
  347. sequence responses from the host terminal.
  348. • A clipboard provider which uses OSC 52 to copy the selection to the system
  349. clipboard is now bundled by default and will be automatically enabled under
  350. certain conditions. |clipboard-osc52|
  351. • 'termsync' option asks the host terminal to buffer screen updates until
  352. the redraw cycle is complete. Requires support from the host terminal.
  353. • UI:
  354. • Enhanced support for rendering multibyte characters using composing
  355. characters: the maximum limit was increased from 1+6 codepoints to
  356. 31 bytes, which is guaranteed to fit all chars from before but often more.
  357. • NOTE: the regexp engine still has a hard-coded limit of considering
  358. 6 composing chars only.
  359. ==============================================================================
  360. CHANGED FEATURES
  361. These existing features changed their behavior.
  362. • API:
  363. • |nvim_buf_call()| and |nvim_win_call()| now preserve any return value (NB:
  364. not multiple return values)
  365. • Editor:
  366. • |gx| now uses |vim.ui.open()| and not netrw. To customize, you can redefine
  367. `vim.ui.open` or remap `gx`. To continue using netrw (deprecated): >vim
  368. :call netrw#BrowseX(expand(exists("g:netrw_gx") ? g:netrw_gx : '<cfile>'), netrw#CheckIfRemote())<CR>
  369. • LSP:
  370. • LSP hover and signature help now use Treesitter for highlighting of
  371. Markdown content. Note that highlighting of code examples requires
  372. a matching parser and may be affected by custom queries.
  373. • |LspRequest| autocmd callbacks contain more information about the LSP
  374. request status update that occurred.
  375. • Lua:
  376. • |vim.wait()| cannot be called in |api-fast|.
  377. • |vim.diagnostic.config()| now accepts virtual text relevant options to
  378. |nvim_buf_set_extmark()| (e.g. "virt_text_pos" and "hl_mode") in its
  379. "virtual_text" table, which gives users more control over how diagnostic
  380. virtual text is displayed.
  381. • |vim.diagnostic.get()| and |vim.diagnostic.count()| accept multiple
  382. namespaces rather than just a single namespace.
  383. • |vim.diagnostic.enable()| gained new parameters, and the old signature is
  384. deprecated.
  385. • |vim.diagnostic.config()| now accepts a function for the virtual_text.prefix
  386. option, which allows for rendering e.g., diagnostic severities differently.
  387. • Options:
  388. • Attempting to set an invalid keycode option (e.g. `set t_foo=123`) no
  389. longer gives an error.
  390. • Terminal:
  391. • Terminal buffers started with no arguments (and use 'shell') close
  392. automatically if the job exited without error, eliminating the (often
  393. unwanted) "[Process exited 0]" message. |default-autocmds|
  394. • Treesitter:
  395. • |Query:iter_matches()|, |vim.treesitter.query.add_predicate()|, and
  396. |vim.treesitter.query.add_directive()| accept a new `all` option which
  397. ensures that all matching nodes are returned as a table. The default option
  398. `all=false` returns only a single node, breaking captures with quantifiers
  399. like `(comment)+ @comment`; it is only provided for backward compatibility
  400. and will be removed after Nvim 0.10.
  401. • |vim.treesitter.query.add_predicate()| and
  402. |vim.treesitter.query.add_directive()| now accept an options table rather
  403. than a boolean "force" argument. To force a predicate or directive to
  404. override an existing predicate or directive, use `{ force = true }`.
  405. ==============================================================================
  406. REMOVED FEATURES
  407. These deprecated features were removed.
  408. • Vimball support, including `:Vimuntar` command
  409. • Support for legacy treesitter injection queries
  410. • 'shortmess' flags:
  411. • |shm-f|. Always use "(3 of 5)", never "(file 3 of 5)".
  412. • |shm-i|. Always use "[noeol]".
  413. • |shm-x|. Always use "[dos]", "[unix]" and "[mac]".
  414. • |shm-n|. Always use "[New]".
  415. ==============================================================================
  416. DEPRECATIONS
  417. See |deprecated-0.10|.
  418. vim:tw=78:ts=8:sw=2:et:ft=help:norl: