Skip to content

Commit

Permalink
Add Lua linting and style support
Browse files Browse the repository at this point in the history
  • Loading branch information
bluz71 committed Jan 24, 2023
1 parent ea3d827 commit 1153450
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/nightfly/init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
local fn = vim.fn
local g = vim.g
local highlight = vim.api.nvim_set_hl

Expand Down
5 changes: 5 additions & 0 deletions nvim.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[vim]
any = true

[use]
any = true
1 change: 1 addition & 0 deletions selene.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
std="lua51+nvim"
3 changes: 3 additions & 0 deletions stylua.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
column_width = 100
indent_type = "Spaces"
indent_width = 2

0 comments on commit 1153450

Please sign in to comment.