Mercurial > libervia-backend
changeset 3676:fc24e611c9aa
jp (common): add neovim (`nvim`) default arguments
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 26 Sep 2021 16:35:49 +0200 |
parents | 0661b2aac167 |
children | 02e5e2385a30 |
files | sat_frontends/jp/common.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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}",