Skip to content

Commit 01d9c6f

Browse files
committed
added support for chrome browser extension coding
added a small section to paste linting help.
1 parent cc6ba84 commit 01d9c6f

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

init.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,14 @@ require('lazy').setup({
684684

685685
-- LSPs
686686
ts_ls = {},
687+
jsonls = {
688+
settings = {
689+
json = {
690+
schemas = require('schemastore').json.schemas(),
691+
validate = { enable = true },
692+
},
693+
},
694+
},
687695
csharp_ls = {},
688696
intelephense = {},
689697
html = {},

lazy-lock.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222
"nvim-dap-go": { "branch": "main", "commit": "8763ced35b19c8dc526e04a70ab07c34e11ad064" },
2323
"nvim-dap-python": { "branch": "master", "commit": "261ce649d05bc455a29f9636dc03f8cdaa7e0e2c" },
2424
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
25+
"nvim-lint": { "branch": "master", "commit": "3c5e34c24834a67b1cb37600ab7663eefd2b0390" },
2526
"nvim-lspconfig": { "branch": "master", "commit": "dbdb80d3bd311989d21029c63918d67a786d5013" },
2627
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
2728
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
2829
"nvim-web-devicons": { "branch": "master", "commit": "a1366758b3a232036dc97be8ca41184aa3f50506" },
2930
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
31+
"schemastore.nvim": { "branch": "main", "commit": "36fb914c0defa2274207e670182253508e5569d5" },
3032
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
3133
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
3234
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },

lua/custom/plugins/SchemaStore.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- A Neovim plugin that provides the SchemaStore catalog for use with jsonls and yamlls.
2+
return {
3+
'b0o/schemastore.nvim',
4+
}

lua/kickstart/plugins/lint.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
return {
2+
-- linting help.
3+
-- eslint: https://medium.com/@capablecontents/linting-with-chrome-extensions-using-eslint-41e1d9a3b89a
24

35
{ -- Linting
46
'mfussenegger/nvim-lint',

0 commit comments

Comments
 (0)