mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-03 00:25:53 +02:00
Use 'setlocal' instead of 'set' in Vim syntax file #66
This commit is contained in:
parent
57cc8537e8
commit
82d1e8e187
@ -2953,4 +2953,5 @@ END vim-box
|
|||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
#EOF vim: set ai sw=4:
|
|
||||||
|
#EOF vim: set ai sw=4 syn=boxes:
|
||||||
|
36
boxes.vim
36
boxes.vim
@ -1,17 +1,24 @@
|
|||||||
|
" boxes - command line ASCII boxes unlimited!
|
||||||
|
" Copyright (C) 1999-2020 Thomas Jensen and the boxes contributors
|
||||||
|
"
|
||||||
|
" This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
|
||||||
|
" License, version 2, as published by the Free Software Foundation.
|
||||||
|
" This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
" warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
" You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
|
||||||
|
" Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
"
|
||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: "boxes" configuration file
|
" ---------------
|
||||||
" Maintainer: Thomas Jensen <boxes@thomasjensen.com>
|
" Latest version available from:
|
||||||
" Latest Change: September 12, 1999 (Sunday, 01:14h)
|
" https://github.com/ascii-boxes/boxes/blob/master/boxes.vim
|
||||||
" Vim Version: 5.4
|
" Status: This syntax file is still under development (you could say "beta") and has a few known issues (below).
|
||||||
" Filenames: .boxes boxes-config boxes
|
" We think it's good enough to be used in the wild.
|
||||||
" URL: https://github.com/ascii-boxes/boxes/blob/master/boxes.vim
|
" Even though it is not officially part of a boxes release, and simply intended to be downloaded via the link
|
||||||
"
|
" above, we think it's great when it gets packaged and installed with boxes!
|
||||||
" Problems: - Strings must start and end with double quotes (") and the
|
" Known Issues:
|
||||||
" escape character is always backslash (\), which does not
|
" https://github.com/ascii-boxes/boxes/issues?q=is%3Aissue+is%3Aopen+Vim+Syntax
|
||||||
" allow correct colorization of strings following a DELIM.
|
" _____________________________________________________________________________________________________________________
|
||||||
"
|
|
||||||
" + Region ends are matched inside contained strings
|
|
||||||
" SOLVED! Thanks Dr. Charles E. Campbell!
|
|
||||||
|
|
||||||
|
|
||||||
" Removes any old syntax stuff hanging around
|
" Removes any old syntax stuff hanging around
|
||||||
@ -21,7 +28,7 @@ syntax clear
|
|||||||
syntax case ignore
|
syntax case ignore
|
||||||
|
|
||||||
" Set the keyword characters
|
" Set the keyword characters
|
||||||
set iskeyword=a-z,A-Z
|
setlocal iskeyword=a-z,A-Z
|
||||||
|
|
||||||
|
|
||||||
"
|
"
|
||||||
@ -122,5 +129,4 @@ let b:current_syntax = "boxes"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"EOF vim: sw=4
|
"EOF vim: sw=4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user