Skip to content

Commit

Permalink
feat(pack): add selene linter to lua pack (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
owittek authored Jun 2, 2023
1 parent dd38bb9 commit 109b127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lua/astrocommunity/pack/lua/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ This plugin pack does the following:
- Adds `lua` Treesitter parser
- Adds `lua_ls` language server
- Adds `stylua` formatter
- Adds `selene` linter
4 changes: 3 additions & 1 deletion lua/astrocommunity/pack/lua/lua.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ return {
},
{
"jay-babu/mason-null-ls.nvim",
opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "stylua") end,
opts = function(_, opts)
opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, { "stylua", "selene" })
end,
},
}

0 comments on commit 109b127

Please sign in to comment.