From d7b2573f0e0d0943032539fc19999ce286d8ff97 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Tue, 22 Apr 2025 11:49:00 -0300 Subject: [PATCH] feat(neovim): add `harper-ls` to lint files --- patch/kickstart.nvim/updates.patch | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/patch/kickstart.nvim/updates.patch b/patch/kickstart.nvim/updates.patch index 9014f7c..28380e8 100644 --- a/patch/kickstart.nvim/updates.patch +++ b/patch/kickstart.nvim/updates.patch @@ -1,5 +1,5 @@ diff --git a/init.lua b/init.lua -index 776c687..28ba9f3 100644 +index 776c687..430ceeb 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -39,7 +39,7 @@ index 776c687..28ba9f3 100644 -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()` -@@ -676,6 +684,27 @@ require('lazy').setup({ +@@ -676,6 +684,28 @@ require('lazy').setup({ -- ts_ls = {}, -- @@ -53,6 +53,7 @@ index 776c687..28ba9f3 100644 + }, + }, + gopls = {}, ++ harper_ls = {}, + helm_ls = {}, + html = { filetypes = { 'html', 'twig', 'hbs' } }, + jsonls = { @@ -67,7 +68,7 @@ index 776c687..28ba9f3 100644 lua_ls = { -- cmd = { ... }, -- filetypes = { ... }, -@@ -690,6 +719,32 @@ require('lazy').setup({ +@@ -690,6 +720,32 @@ require('lazy').setup({ }, }, }, @@ -93,14 +94,14 @@ index 776c687..28ba9f3 100644 + ["https://raw.githubusercontent.com/argoproj/argo-workflows/master/api/jsonschema/schema.json"] = "*flow*.{yml,yaml}", + ["https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json"] = "*docker-compose*.{yml,yaml}", + -- kubernetes = "*.{yml,yaml}", -+ } -+ } -+ } -+ } ++ }, ++ }, ++ }, ++ }, } -- Ensure the servers and tools above are installed -@@ -721,6 +776,33 @@ require('lazy').setup({ +@@ -721,6 +777,33 @@ require('lazy').setup({ -- by the server configuration above. Useful when disabling -- certain features of an LSP (for example, turning off formatting for ts_ls) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) @@ -134,7 +135,7 @@ index 776c687..28ba9f3 100644 require('lspconfig')[server_name].setup(server) end, }, -@@ -801,6 +883,8 @@ require('lazy').setup({ +@@ -801,6 +884,8 @@ require('lazy').setup({ opts = {}, }, 'folke/lazydev.nvim', @@ -143,7 +144,7 @@ index 776c687..28ba9f3 100644 }, --- @module 'blink.cmp' --- @type blink.cmp.Config -@@ -846,9 +930,15 @@ require('lazy').setup({ +@@ -846,9 +931,15 @@ require('lazy').setup({ }, sources = { @@ -160,7 +161,7 @@ index 776c687..28ba9f3 100644 }, }, -@@ -874,19 +964,39 @@ require('lazy').setup({ +@@ -874,19 +965,39 @@ require('lazy').setup({ -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. 'folke/tokyonight.nvim', @@ -206,7 +207,7 @@ index 776c687..28ba9f3 100644 end, }, -@@ -936,7 +1046,39 @@ require('lazy').setup({ +@@ -936,7 +1047,39 @@ require('lazy').setup({ main = 'nvim-treesitter.configs', -- Sets main module to use for opts -- [[ Configure Treesitter ]] See `:help nvim-treesitter` opts = { @@ -247,7 +248,7 @@ index 776c687..28ba9f3 100644 -- Autoinstall languages that are not installed auto_install = true, highlight = { -@@ -966,17 +1108,17 @@ require('lazy').setup({ +@@ -966,17 +1109,17 @@ require('lazy').setup({ -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- -- require 'kickstart.plugins.debug',