summaryrefslogtreecommitdiffstats
path: root/autoload/go
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-01 08:33:15 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-01 08:33:15 +0200
commite166f741ef054ea990aa6d1af85b97ceb82171bb (patch)
tree275e4f7660eaa181cc3e40f71ce72ba8864e6c71 /autoload/go
parentd4fcef1aa835f20f4f9df41eceb406b66f446f70 (diff)
downloadvim-polyglot-e166f741ef054ea990aa6d1af85b97ceb82171bb.tar.gz
vim-polyglot-e166f741ef054ea990aa6d1af85b97ceb82171bb.zip
Some major updates including heuristicsv4.6.0
- Allow to define heuristics in heuristics.yaml - Migrate all filetypes from vim beginning with "a" - Remove enhanced cpp syntax (it was too slow to load) - Use setf instead of set ft for setting filetype (faster) - Override native hauristics with au! - Add globbing of files for packages - Replace predefined dirs with extra_dirs and ignored_dirs - Allow to define proper order of packages with topological sort - Fix powershell detection - Lint and fix many packages.yaml issues - etc etd
Diffstat (limited to 'autoload/go')
-rw-r--r--autoload/go/config.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/go/config.vim b/autoload/go/config.vim
index 26d6de91..956da220 100644
--- a/autoload/go/config.vim
+++ b/autoload/go/config.vim
@@ -55,6 +55,10 @@ function! go#config#TermCloseOnExit() abort
return get(g:, 'go_term_close_on_exit', 1)
endfunction
+function! go#config#TermReuse() abort
+ return get(g:, 'go_term_reuse', 0)
+endfunction
+
function! go#config#SetTermCloseOnExit(value) abort
let g:go_term_close_on_exit = a:value
endfunction