Преглед изворни кода

Added filetype=bufexplorer

As suggested by adelarsq way back on January 5th, 2016, a filetype has
been added.  There is now 'filetype=bufexplorer'.
jeff пре 8 година
родитељ
комит
d42be270a5
2 измењених фајлова са 8 додато и 4 уклоњено
  1. 5 2
      doc/bufexplorer.txt
  2. 3 2
      plugin/bufexplorer.vim

+ 5 - 2
doc/bufexplorer.txt

@@ -1,7 +1,7 @@
-*bufexplorer.txt*              Buffer Explorer       Last Change: 08 Mar 2017
+*bufexplorer.txt*              Buffer Explorer       Last Change: 10 Apr 2017
 
 Buffer Explorer                                *buffer-explorer* *bufexplorer*
-                                Version 7.4.13
+                                Version 7.4.14
 
 Plugin for easily exploring (or browsing) Vim|:buffers|.
 
@@ -253,6 +253,9 @@ The default is 0, so that the size is set by Vim.
 ===============================================================================
 CHANGE LOG                                              *bufexplorer-changelog*
 
+7.4.14   April 10, 2017
+    - As suggested by adelarsq way back on January 5th, 2016, a filetype has
+      been added.  There is now 'filetype=bufexplorer'.
 7.4.13   March 08, 2017
     - Thanks to devakivamsi for pointing out that even though bufexplorer
       turns off line numbers by default within its own window, this did not

+ 3 - 2
plugin/bufexplorer.vim

@@ -36,7 +36,7 @@
 " Name Of File: bufexplorer.vim
 "  Description: Buffer Explorer Vim Plugin
 "   Maintainer: Jeff Lanzarotta (delux256-vim at yahoo dot com)
-" Last Changed: Wednesday, 08 March 2017
+" Last Changed: Monday, 10 April 2017
 "      Version: See g:bufexplorer_version for version number.
 "        Usage: This file should reside in the plugin directory and be
 "               automatically sourced.
@@ -74,7 +74,7 @@ endif
 "1}}}
 
 " Version number
-let g:bufexplorer_version = "7.4.13"
+let g:bufexplorer_version = "7.4.14"
 
 " Plugin Code {{{1
 " Check for Vim version {{{2
@@ -377,6 +377,7 @@ function! s:SetLocalSettings()
     setlocal cursorline
     setlocal nospell
     setlocal nobuflisted
+    setlocal filetype=bufexplorer
 endfunction
 
 " BufExplorerHorizontalSplit {{{2