You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a959a1b
Browse filesBrowse the repository at this point in the historyBrowse files
If you're looking for the simplest way to get the plug-in up and running, download [the latest ZIP archive](http://peterodding.com/code/vim/downloads/lua-ftplugin.zip) from [Vim Online](http://www.vim.org/scripts/script.php?script_id=3625), unzip that in `~/.vim/` (on UNIX) or `%USERPROFILE%\vimfiles` (on Windows) and you're good to go.
1
+
*Please note that the vim-lua-ftplugin plug-in requires my vim-misc plug-in which is separately distributed.*
2
2
3
-
If you're using git and/or [Pathogen](http://www.vim.org/scripts/script.php?script_id=2332), [Vundle](https://github.com/gmarik/vundle) or a similar plug-in manager and want to keep the plug-in up to date using git, you can use the GitHub repository directly, it should just work.
3
+
Unzip the most recent ZIP archives of the [vim-lua-ftplugin][download-lua-ftplugin] and [vim-misc][download-misc] plug-ins inside your Vim profile directory (usually this is `~/.vim` on UNIX and `%USERPROFILE%\vimfiles` on Windows), restart Vim and execute the command `:helptags ~/.vim/doc` (use `:helptags ~\vimfiles\doc` instead on Windows).
4
+
5
+
If you prefer you can also use [Pathogen][pathogen], [Vundle][vundle] or a similar tool to install & update the [vim-lua-ftplugin][github-lua-ftplugin] and [vim-misc][github-misc] plug-ins using a local clone of the git repository.
Copy file name to clipboardExpand all lines: README.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,13 @@ The [Lua][lua] file type plug-in for [Vim][vim] makes it easier to work with Lua
22
22
23
23
## Installation
24
24
25
-
Unzip the most recent [ZIP archive][zip] file inside your Vim profile directory (usually this is `~/.vim` on UNIX and `%USERPROFILE%\vimfiles` on Windows), restart Vim and execute the command `:helptags ~/.vim/doc` (use `:helptags ~\vimfiles\doc` instead on Windows). Now try it out: Edit a Lua script and try any of the features documented above.
25
+
*Please note that the vim-lua-ftplugin plug-in requires my vim-misc plug-in which is separately distributed.*
26
+
27
+
Unzip the most recent ZIP archives of the [vim-lua-ftplugin][download-lua-ftplugin] and [vim-misc][download-misc] plug-ins inside your Vim profile directory (usually this is `~/.vim` on UNIX and `%USERPROFILE%\vimfiles` on Windows), restart Vim and execute the command `:helptags ~/.vim/doc` (use `:helptags ~\vimfiles\doc` instead on Windows).
28
+
29
+
If you prefer you can also use [Pathogen][pathogen], [Vundle][vundle] or a similar tool to install & update the [vim-lua-ftplugin][github-lua-ftplugin] and [vim-misc][github-misc] plug-ins using a local clone of the git repository.
30
+
31
+
Now try it out: Edit a Lua script and try any of the features documented above.
26
32
27
33
Note that on Windows a command prompt window pops up whenever Lua is run as an external process. If this bothers you then you can install my [shell.vim][shell] plug-in which includes a [DLL][dll] that works around this issue. Once you've installed both plug-ins it should work out of the box!
28
34
@@ -115,7 +121,11 @@ This software is licensed under the [MIT license](http://en.wikipedia.org/wiki/M
If you have questions, bug reports, suggestions, etc. the author can be
208
218
contacted at peter@peterodding.com. The latest version is available at
209
219
http://peterodding.com/code/vim/lua-ftplugin and http://github.com/xolox/vim-lua-ftplugin.
210
-
If you like this plug-in please vote for it on Vim Online [12].
220
+
If you like this plug-in please vote for it on Vim Online [17].
0 commit comments