Skip to content

Commit fb99fa3

Browse files
committed
Add icon for *.tex file
Close #709
1 parent e23d1bb commit fb99fa3

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- Fix the indicator winwidth is not flexible. #687
2020
- Fix the icon offset when restoring the full display line for grep provider. #701
2121
- Fix the Pyo3 compilation on M1. #707
22+
- Add icon for `*.tex`. #709
2223

2324
### Perf
2425

autoload/clap/icon.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ set cpoptions&vim
88

99
let g:clap#icon#default = ''
1010

11+
" Convert an icon char to hex: printf("%x", char2nr('C'))
1112
let g:clap#icon#extensions = {
1213
\ 'styl' : '',
1314
\ 'sass' : '',
@@ -111,6 +112,7 @@ let g:clap#icon#extensions = {
111112
\ 'vue' : '',
112113
\ 'swift' : '',
113114
\ 'xcplayground' : '',
115+
\ 'tex' : '',
114116
\ 'lock' : '',
115117
\ 'bin' : '',
116118
\ 'timestamp' : '',

crates/icon/extension_map.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"suo": "\ue70c",
9393
"swift": "\ue755",
9494
"t": "\ue769",
95+
"tex": "\ufb68",
9596
"timestamp": "\ufa1f",
9697
"toml": "\ue615",
9798
"ts": "\ue628",

0 commit comments

Comments
 (0)