diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-15 13:54:15 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-15 13:54:15 +0200 |
commit | 977990584331307dd5e71ebbbbd6b45b9c961996 (patch) | |
tree | a8b3d78e80f586da192a576dd678e2fbc8ac8e00 /.config/nvim/lua/extra | |
parent | 99d00f47fe780dbb021149db2f93d202a2b8b025 (diff) |
Updates to nvim lsp
Diffstat (limited to '.config/nvim/lua/extra')
-rw-r--r-- | .config/nvim/lua/extra/json_schemas.lua | 15 | ||||
-rw-r--r-- | .config/nvim/lua/extra/octo.lua | 2 |
2 files changed, 10 insertions, 7 deletions
diff --git a/.config/nvim/lua/extra/json_schemas.lua b/.config/nvim/lua/extra/json_schemas.lua index 590547b..926de45 100644 --- a/.config/nvim/lua/extra/json_schemas.lua +++ b/.config/nvim/lua/extra/json_schemas.lua @@ -52,31 +52,31 @@ M.setup = function() name = "Helm Chart.yaml", description = "The Chart.lock file locks dependencies from Chart.yaml", fileMatch = { "Chart.lock" }, - url = "https://json.schemastore.org/chart-lock.json" + url = "https://json.schemastore.org/chart-lock.json", }, { name = "CircleCI config.yml", description = "Schema for CircleCI 2.0 config files", fileMatch = { ".circleci/config.yml" }, - url = "https://json.schemastore.org/circleciconfig.json" + url = "https://json.schemastore.org/circleciconfig.json", }, { name = "yamllint", description = "yamllint uses a set of rules to check source files for problems", fileMatch = { "**/.yamllint", "**/.yamllint.yaml", "**/.yamllint.yml" }, - url = "https://json.schemastore.org/yamllint.json" + url = "https://json.schemastore.org/yamllint.json", }, { name = "Hadolint", description = "A smarter Dockerfile linter that helps you build best practice Docker images.", fileMatch = { ".hadolint.yaml", "hadolint.yaml", ".hadolint.yml", "hadolint.yml" }, - url = "https://raw.githubusercontent.com/hadolint/hadolint/master/contrib/hadolint.json" + url = "https://raw.githubusercontent.com/hadolint/hadolint/master/contrib/hadolint.json", }, { name = "kustomization.yaml", description = "Kubernetes native configuration management", fileMatch = { "kustomization.yaml", "kustomization.yml" }, - url = "https://json.schemastore.org/kustomization.json" + url = "https://json.schemastore.org/kustomization.json", }, } @@ -87,7 +87,10 @@ M.setup = function() return tab1 end - local extended_schemas = extend(schemas, require("nlspsettings.jsonls").get_default_schemas()) + local extended_schemas = extend( + schemas, + require("nlspsettings.jsonls").get_default_schemas() + ) options.lang.json.lsp.setup.settings = { json = { diff --git a/.config/nvim/lua/extra/octo.lua b/.config/nvim/lua/extra/octo.lua index 5a110df..f4d177c 100644 --- a/.config/nvim/lua/extra/octo.lua +++ b/.config/nvim/lua/extra/octo.lua @@ -21,7 +21,7 @@ M.config = function() snippet_context_lines = 4, -- number or lines around commented lines file_panel = { size = 10, -- changed files panel rows - use_icons = true, -- use web-devicons in file panel + use_icons = true, -- use web-devicons in file panel }, mappings = { issue = { |