Skip to content

Commit a5d194d

Browse files
committed
Add vim modeline to Lua files without .lua extension
To be correctly detected by GitHub's linguist.
1 parent bc14e12 commit a5d194d

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.busted

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- vim: set ft=lua:
2+
13
return {
24
_all = {
35
helper = 'spec/spec_helper'

.luacheckrc

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
-- vim: set ft=lua:
2+
13
std = 'luajit'
24
globals = { 'ngx' }

.luacov

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- vim: set ft=lua:
2+
13
return {
24

35
-- filename to store stats collected

config.ld

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- vim: set ft=lua:
2+
13
project = 'ngx-oauth'
24
title = 'ngx-oauth docs'
35
package = 'ngx-oauth'

0 commit comments

Comments
 (0)