• R/O
  • HTTP
  • SSH
  • HTTPS

kink.vim: 提交

Vim Plugins for Kink Programming Language


Commit MetaInfo

修订版00783624174a0bda95011ad2a336a311ee260bf3 (tree)
时间2017-04-10 00:34:57
作者Miyakawa Taku <miyakawa.taku@gmai...>
CommiterMiyakawa Taku

Log Message

fix indentation issues around backslashes

更改概述

差异

--- a/indent/kink.vim
+++ b/indent/kink.vim
@@ -1,7 +1,7 @@
11 " Vim indent file for Kink
22 " Language: Kink (https://bitbucket.org/kink/kink)
33 " Maintainer: Miyakawa Taku <miyakawa.taku@gmail.com>
4-" Last Change: 2017-02-04
4+" Last Change: 2017-04-10
55
66 " Copyright (c) 2013- Miyakawa Taku
77 "
@@ -130,7 +130,7 @@ function! s:get_openers_till(line_no, open_till_lineno)
130130 let openers = 0
131131 call cursor(a:line_no, 1)
132132 let search_option = 'cW'
133- while search('[\[{(]', search_option, a:open_till_lineno - 1)
133+ while search('[[{(]', search_option, a:open_till_lineno - 1)
134134 let search_option = 'W'
135135 if s:in_comment_or_string()
136136 continue
@@ -155,7 +155,7 @@ function! s:get_remaining_openers(line_no, shown_before_colno)
155155 let openers = 0
156156 call cursor(a:line_no, 1)
157157 let search_option = 'cW'
158- while search('[\[{(]', search_option, a:line_no) > 0 && col('.') < a:shown_before_colno
158+ while search('[[{(]', search_option, a:line_no) > 0 && col('.') < a:shown_before_colno
159159 let search_option = 'W'
160160 if s:in_comment_or_string()
161161 continue
Show on old repository browser