Set scriptencoding for file with utf8 BOM

This commit is contained in:
Daniel Hahler
2020-02-13 10:56:46 +01:00
committed by Andy Stewart
parent 2ef4f7e7b2
commit da2c785221

View File

@@ -1,3 +1,5 @@
scriptencoding utf8
let s:nomodeline = (v:version > 703 || (v:version == 703 && has('patch442'))) ? '<nomodeline>' : ''
let s:hunk_re = '^@@ -\(\d\+\),\?\(\d*\) +\(\d\+\),\?\(\d*\) @@'
@@ -405,5 +407,3 @@ endfunction
function! s:save_last_seen_change(bufnr) abort
call gitgutter#utility#setbufvar(a:bufnr, 'tick', getbufvar(a:bufnr, 'changedtick'))
endfunction