Skip to content

Commit 1bc9d0c

Browse files
committed
chore: Add scriptencoding to satisfy vint linter
1 parent 09d17fc commit 1bc9d0c

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

after/ftplugin/markdown.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"
1111
" original version from Steve Losh's gist: https://gist.github.com/1038710
1212

13+
scriptencoding utf-8
14+
1315
function! s:is_mkdCode(lnum)
1416
let name = synIDattr(synID(a:lnum, 1, 0), 'name')
1517
return (name =~# '^mkd\%(Code$\|Snippet\)' || name !=# '' && name !~? '^\%(mkd\|html\)')

ftdetect/markdown.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
" SPDX-FileCopyrightText: © 2009 Benjamin D. Williams <benw@plasticboy.com>
33
" SPDX-License-Identifier: MIT
44

5+
scriptencoding utf-8
6+
57
if !has('patch-7.4.480')
68
" Before this patch, vim used modula2 for .md.
79
autocmd! filetypedetect BufRead,BufNewFile *.md

ftplugin/markdown.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
" SPDX-FileCopyrightText: © 2009 Benjamin D. Williams <benw@plasticboy.com>
33
" SPDX-License-Identifier: MIT
44

5+
scriptencoding utf-8
6+
57
"TODO print messages when on visual mode. I only see VISUAL, not the messages.
68

79
" Function interface philosophy:

indent/markdown.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
" SPDX-FileCopyrightText: © 2009 Benjamin D. Williams <benw@plasticboy.com>
33
" SPDX-License-Identifier: MIT
44

5+
scriptencoding utf-8
6+
57
if exists('b:did_indent') | finish | endif
68
let b:did_indent = 1
79

syntax/markdown.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
" SPDX-FileCopyrightText: © 2009 Benjamin D. Williams <benw@plasticboy.com>
33
" SPDX-License-Identifier: MIT
44

5+
scriptencoding utf-8
6+
57
" Read the HTML syntax to start with
68
if v:version < 600
79
source <sfile>:p:h/html.vim

0 commit comments

Comments
 (0)