Skip to content

Commit

Permalink
hotfix: fix autocmd
Browse files Browse the repository at this point in the history
  • Loading branch information
bujnlc8 committed Oct 10, 2021
1 parent 7acdad2 commit d90325f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions autoload/util.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
autocmd! BufWritePre *.tdata set fileencoding=utf-8
autocmd! BufWinEnter *.tdata match Conceal /[\u0001]/

function! util#base64(s)
if has('python')
let @b = a:s
Expand Down
2 changes: 2 additions & 0 deletions plugin/translator.vim
Original file line number Diff line number Diff line change
Expand Up @@ -319,5 +319,7 @@ command! -nargs=? Te call <SID>enshrine_words(<q-args>)
command! Tee call <SID>enshrine_edit()
command! Tev call <SID>enshrine_wordsv()
autocmd! BufWritePost *.tdata :call <SID>after_write_enshrine_file()
autocmd! BufWinEnter *.tdata match Conceal /[\u0001]/
autocmd! BufWritePre *.tdata set fileencoding=utf-8
highlight TranslatorBorder ctermfg=37 guifg=#459d90
highlight TranslatorHi term=bold ctermfg=246 guifg=#898f9e

0 comments on commit d90325f

Please sign in to comment.