Skip to content

Commit

Permalink
Add vim modeline to Lua files without .lua extension
Browse files Browse the repository at this point in the history
To be correctly detected by GitHub's linguist.
  • Loading branch information
jirutka committed Nov 18, 2015
1 parent bc14e12 commit a5d194d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .busted
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-- vim: set ft=lua:

return {
_all = {
helper = 'spec/spec_helper'
Expand Down
2 changes: 2 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
-- vim: set ft=lua:

std = 'luajit'
globals = { 'ngx' }
2 changes: 2 additions & 0 deletions .luacov
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-- vim: set ft=lua:

return {

-- filename to store stats collected
Expand Down
2 changes: 2 additions & 0 deletions config.ld
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-- vim: set ft=lua:

project = 'ngx-oauth'
title = 'ngx-oauth docs'
package = 'ngx-oauth'
Expand Down

0 comments on commit a5d194d

Please sign in to comment.