From ddfc8f4b0ab6698e6f5b10b995b6f4b1f13d9ada Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Thu, 26 Nov 2015 19:11:12 +0200 Subject: [PATCH] list: rename setting name --- autoload/go/list.vim | 4 ++-- doc/vim-go.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autoload/go/list.vim b/autoload/go/list.vim index a36f161921..366c558903 100644 --- a/autoload/go/list.vim +++ b/autoload/go/list.vim @@ -1,5 +1,5 @@ " Window opens the location list with the given height up to 10 lines maximum. -" Otherwise g:go_location_height is used. If no or zero height is given it +" Otherwise g:go_loclist_height is used. If no or zero height is given it " closes the window function! go#list#Window(...) " we don't use lwindow to close the location list as we need also the @@ -12,7 +12,7 @@ function! go#list#Window(...) return endif - let height = get(g:, "go_location_height", 0) + let height = get(g:, "go_loclist_height", 0) if height == 0 " prevent creating a large location height for a large set of numbers if a:1 > 10 diff --git a/doc/vim-go.txt b/doc/vim-go.txt index 52bce34940..6d5370971f 100755 --- a/doc/vim-go.txt +++ b/doc/vim-go.txt @@ -887,14 +887,14 @@ seconds. > let g:go_metalinter_deadline = "5s" < - *'g:go_location_height'* + *'g:go_loclist_height'* Specifies the current location list height for all location lists. The default value (empty) sets automatically the height to the number of errors (maximum up to 10 errors to prevent large heights). Setting the value explicitly overrides this behavior. To get default Vim behavior set it to 10. > - let g:go_location_height = 0 + let g:go_loclist_height = 0 =============================================================================== TROUBLESHOOTING *go-troubleshooting*