Commit e2ec66b9 authored by HiPhish's avatar HiPhish

Add Bourne Shell to built-in REPLs

parent d35055a2
......@@ -22,8 +22,9 @@ TABLE OF CONTENTS *repl.nvim-contents*
5. Configuration ..................................... |repl.nvim-config|
6. Managing REPLs .................................... |repl.nvim-managing|
7. Included REPLs .................................... |repl.nvim-builtin|
7.1 GNU Guile ..................................... |repl.nvim-guile|
7.2 Python ........................................ |repl.nvim-python|
7.1 Bourne Shell .................................. |repl.nvim-sh|
7.2 GNU Guile ..................................... |repl.nvim-guile|
7.3 Python ........................................ |repl.nvim-python|
8. Defining new REPLs ................................ |repl.nvim-defining|
==============================================================================
......@@ -204,6 +205,19 @@ INCLUDED REPL TYPES *repl.nvim-builtin*
The following REPL types are defined out of the box. The change their default
settings see |repl.nvim-config|.
------------------------------------------------------------------------------
BOURNE SHELL *repl.nvim-sh*
>
g:repl.sh : {
'binary': 'sh',
'args': [],
'syntax': '',
'title': 'Bourne Shell',
}
<
The Bourne Shell defaults to your system `sh` binary. Beware that this might
actually be the Bourne Again Shell (`bash`) under the hood.
------------------------------------------------------------------------------
GNU GUILE *repl.nvim-guile*
>
......
......@@ -36,18 +36,24 @@ endif
" title : Value of b:term_title
" ----------------------------------------------------------------------------
let s:repl = {
\ 'guile' : {
\ 'binary': 'guile',
\ 'args': ['-L', '.'],
\ 'syntax': 'scheme',
\ 'title': 'Guile REPL',
\ },
\ 'python' : {
\ 'binary': 'python',
\ 'args': [],
\ 'syntax': '',
\ 'title': 'Python REPL',
\ },
\ 'guile' : {
\ 'binary': 'guile',
\ 'args': ['-L', '.'],
\ 'syntax': 'scheme',
\ 'title': 'Guile REPL',
\ }
\ 'sh' : {
\ 'binary': 'sh',
\ 'args': [],
\ 'syntax': '',
\ 'title': 'Bourne Shell',
\ },
\ }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment