diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-01-23 18:38:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-23 18:38:41 +0100 |
commit | 4ba7fa1700ead8a53d73fea7fc17a545f9b4588d (patch) | |
tree | fe19e0a4eafce40046fe3d001710a56c500fe501 /runtime/doc/syntax.txt | |
parent | 28352dc6e50b9559f32f054c56dc950a79ae45bc (diff) | |
download | rneovim-4ba7fa1700ead8a53d73fea7fc17a545f9b4588d.tar.gz rneovim-4ba7fa1700ead8a53d73fea7fc17a545f9b4588d.tar.bz2 rneovim-4ba7fa1700ead8a53d73fea7fc17a545f9b4588d.zip |
vim-patch:6f4754b9f725 (#17179)
Update runtime files
https://github.com/vim/vim/commit/6f4754b9f7253d7e4ba527064a24aff1acdb1e8f
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r-- | runtime/doc/syntax.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 2c5531411d..be1586ab41 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -920,12 +920,16 @@ in .../after/syntax/baan.vim (see |after-directory|). Eg: > BASIC *basic.vim* *vb.vim* *ft-basic-syntax* *ft-vb-syntax* -Both Visual Basic and "normal" basic use the extension ".bas". To detect +Both Visual Basic and "normal" BASIC use the extension ".bas". To detect which one should be used, Vim checks for the string "VB_Name" in the first five lines of the file. If it is not found, filetype will be "basic", otherwise "vb". Files with the ".frm" extension will always be seen as Visual Basic. +If the automatic detection doesn't work for you or you only edit, for +example, FreeBASIC files, use this in your startup vimrc: > + :let filetype_bas = "freebasic" + C *c.vim* *ft-c-syntax* |