Przeglądaj źródła

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 lat temu
rodzic
commit
d42be270a5
2 zmienionych plików z 8 dodań i 4 usunięć
  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*
 Buffer Explorer                                *buffer-explorer* *bufexplorer*
-                                Version 7.4.13
+                                Version 7.4.14
 
 
 Plugin for easily exploring (or browsing) Vim|:buffers|.
 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*
 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
 7.4.13   March 08, 2017
     - Thanks to devakivamsi for pointing out that even though bufexplorer
     - Thanks to devakivamsi for pointing out that even though bufexplorer
       turns off line numbers by default within its own window, this did not
       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
 " Name Of File: bufexplorer.vim
 "  Description: Buffer Explorer Vim Plugin
 "  Description: Buffer Explorer Vim Plugin
 "   Maintainer: Jeff Lanzarotta (delux256-vim at yahoo dot com)
 "   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.
 "      Version: See g:bufexplorer_version for version number.
 "        Usage: This file should reside in the plugin directory and be
 "        Usage: This file should reside in the plugin directory and be
 "               automatically sourced.
 "               automatically sourced.
@@ -74,7 +74,7 @@ endif
 "1}}}
 "1}}}
 
 
 " Version number
 " Version number
-let g:bufexplorer_version = "7.4.13"
+let g:bufexplorer_version = "7.4.14"
 
 
 " Plugin Code {{{1
 " Plugin Code {{{1
 " Check for Vim version {{{2
 " Check for Vim version {{{2
@@ -377,6 +377,7 @@ function! s:SetLocalSettings()
     setlocal cursorline
     setlocal cursorline
     setlocal nospell
     setlocal nospell
     setlocal nobuflisted
     setlocal nobuflisted
+    setlocal filetype=bufexplorer
 endfunction
 endfunction
 
 
 " BufExplorerHorizontalSplit {{{2
 " BufExplorerHorizontalSplit {{{2