Skip to content

Commit

Permalink
feat: example
Browse files Browse the repository at this point in the history
  • Loading branch information
linrongbin16 committed Oct 2, 2023
1 parent bbd799b commit 81ab3a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
-- * [null-ls BUILTINS](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/doc/BUILTINS.md) and install them from mason.

local ensure_installed = {
"stylua", -- lua formatter
"prettier", -- js,ts,json,html,css,etc formatter
"eslint", -- js,ts,json,html,css,etc diagnostic
-- "luacheck", -- lua
"eslint_d", -- javascript/typescript
"markdownlint", -- markdown
}

return ensure_installed
return ensure_installed
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ local null_ls = require("null-ls")

local setup_handlers = {
-- Custom setup.
stylua = function(source, methods)
null_ls.register(null_ls.builtins.formatting.stylua)
end,
}

return setup_handlers
return setup_handlers

0 comments on commit 81ab3a2

Please sign in to comment.