Skip to content

Commit 98391b7

Browse files
committed
Declare OS compatibility.
1 parent 013d316 commit 98391b7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Change font size easily.
44

5+
Currently only works on Windows and Mac OS X (not tested).
6+
57
## Usage
68

79
1. Run `:Fontsize` to enter the state of changing font size.

autoload/fontsize.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function! fontsize#Change()
7777
for size in l:sizes
7878
let size = str2float(size) + l:increment
7979
" Must keep the data type of l:sizes' items as string so that
80-
" str2float can be used without fault.
80+
" str2float won't encount a type error.
8181
let l:sizes[i] = string(size)
8282
let g:fontsizes[i] = l:dimens[i] . l:sizes[i]
8383
let l:fontlist[i] = l:names[i] . ':' . g:fontsizes[i]

0 commit comments

Comments
 (0)