# HG changeset patch # User Goffi # Date 1632666949 -7200 # Node ID fc24e611c9aaf1f2f5676c2289ba129f350fe69d # Parent 0661b2aac167b75f53727d79bf586c2487edee64 jp (common): add neovim (`nvim`) default arguments diff -r 0661b2aac167 -r fc24e611c9aa sat_frontends/jp/common.py --- a/sat_frontends/jp/common.py Wed Sep 08 17:57:28 2021 +0200 +++ b/sat_frontends/jp/common.py Sun Sep 26 16:35:49 2021 +0200 @@ -36,11 +36,12 @@ from configparser import NoSectionError, NoOptionError from collections import namedtuple -# defaut arguments used for some known editors (editing with metadata) +# default arguments used for some known editors (editing with metadata) VIM_SPLIT_ARGS = "-c 'set nospr|vsplit|wincmd w|next|wincmd w'" EMACS_SPLIT_ARGS = '--eval "(split-window-horizontally)"' EDITOR_ARGS_MAGIC = { "vim": VIM_SPLIT_ARGS + " {content_file} {metadata_file}", + "nvim": VIM_SPLIT_ARGS + " {content_file} {metadata_file}", "gvim": VIM_SPLIT_ARGS + " --nofork {content_file} {metadata_file}", "emacs": EMACS_SPLIT_ARGS + " {content_file} {metadata_file}", "xemacs": EMACS_SPLIT_ARGS + " {content_file} {metadata_file}",