diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-10-20 08:48:21 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-10-20 08:48:21 +0200 |
commit | 70301470abcc1a96a7c164dbf8901aa6f1e52c12 (patch) | |
tree | d1f4c4d3562dab74c1b2384399bb86598cfb8ced /.config/nvim/lua/extra | |
parent | f11eff223d021dd9553a7152278c00ca41b7ef37 (diff) |
Update to colorscheme, ftplugin
Diffstat (limited to '.config/nvim/lua/extra')
-rw-r--r-- | .config/nvim/lua/extra/json_schemas.lua | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/.config/nvim/lua/extra/json_schemas.lua b/.config/nvim/lua/extra/json_schemas.lua deleted file mode 100644 index d48d932..0000000 --- a/.config/nvim/lua/extra/json_schemas.lua +++ /dev/null @@ -1,102 +0,0 @@ --- -- https://www.schemastore.org/json/ --- local M = {} - --- M.setup = function() --- local schemas = { --- { --- description = "Package JSON file", --- fileMatch = { "package.json" }, --- url = "https://json.schemastore.org/package.json", --- }, --- { --- description = "TypeScript compiler configuration file", --- fileMatch = { "tsconfig.json", "tsconfig.*.json" }, --- url = "http://json.schemastore.org/tsconfig", --- }, --- { --- description = "Lerna config", --- fileMatch = { "lerna.json" }, --- url = "http://json.schemastore.org/lerna", --- }, --- { --- description = "Babel configuration", --- fileMatch = { ".babelrc.json", ".babelrc", "babel.config.json" }, --- url = "http://json.schemastore.org/lerna", --- }, --- { --- description = "ESLint config", --- fileMatch = { ".eslintrc.json", ".eslintrc" }, --- url = "http://json.schemastore.org/eslintrc", --- }, --- { --- description = "Bucklescript config", --- fileMatch = { "bsconfig.json" }, --- url = "https://bucklescript.github.io/bucklescript/docson/build-schema.json", --- }, --- { --- description = "Prettier config", --- fileMatch = { ".prettierrc", ".prettierrc.json", "prettier.config.json" }, --- url = "http://json.schemastore.org/prettierrc", --- }, --- { --- description = "Vercel Now config", --- fileMatch = { "now.json" }, --- url = "http://json.schemastore.org/now", --- }, --- { --- description = "Stylelint config", --- fileMatch = { ".stylelintrc", ".stylelintrc.json", "stylelint.config.json" }, --- url = "http://json.schemastore.org/stylelintrc", --- }, --- { --- 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", --- }, --- { --- name = "CircleCI config.yml", --- description = "Schema for CircleCI 2.0 config files", --- fileMatch = { ".circleci/config.yml" }, --- 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", --- }, --- { --- 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", --- }, --- { --- name = "kustomization.yaml", --- description = "Kubernetes native configuration management", --- fileMatch = { "kustomization.yaml", "kustomization.yml" }, --- url = "https://json.schemastore.org/kustomization.json", --- }, --- } - --- local function extend(tab1, tab2) --- for _, value in ipairs(tab2) do --- table.insert(tab1, value) --- end --- return tab1 --- end - --- local extended_schemas = extend( --- schemas, --- require("nlspsettings.jsonls").get_default_schemas() --- ) - --- options.lang.json.lsp.setup.settings = { --- json = { --- schemas = extended_schemas, --- }, --- } --- end - --- return M |