commit 621b8cbb3409bcd968e4c1b4b7fa24be3e7ebe09
parent 866694e15f9a807f567c6e53bd668c69648e54ff
Author: FIGBERT <figbert@figbert.com>
Date: Fri, 17 Dec 2021 09:40:57 -0800
Enable linting for DenoLS
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dot_config/nvim/init.lua.tmpl b/dot_config/nvim/init.lua.tmpl
@@ -120,7 +120,12 @@ local ts = require "nvim-treesitter.configs"
ts.setup { ensure_installed = "maintained", highlight = { enable = true }}
require"lspconfig".gdscript.setup{capabilities = capabilities}
-require"lspconfig".denols.setup{capabilities = capabilities}
+require"lspconfig".denols.setup{
+ capabilities = capabilities,
+ init_options = {
+ lint = true,
+ },
+}
require"lspconfig".sourcekit.setup{capabilities = capabilities}
require"lspconfig".html.setup{capabilities = capabilities}
require"lspconfig".cssls.setup{capabilities = capabilities}