diff sat_frontends/jp/common.py @ 3681:742e466fa000

merge bookmark `@`
author Goffi <goffi@goffi.org>
date Sun, 26 Sep 2021 16:41:49 +0200
parents 9ca19b317293 fc24e611c9aa
children 524856bd7b19
line wrap: on
line diff
--- a/sat_frontends/jp/common.py	Sun Sep 26 16:38:40 2021 +0200
+++ b/sat_frontends/jp/common.py	Sun Sep 26 16:41: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}",