From 340e1ad0ecc0d756032aab05e91c12abed7d6b13 Mon Sep 17 00:00:00 2001 From: nagymathev Date: Wed, 10 Jul 2024 10:44:15 +0100 Subject: [PATCH 1/5] relative numbers --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 6cec6be5..7e13dad5 100644 --- a/init.lua +++ b/init.lua @@ -102,7 +102,7 @@ vim.g.have_nerd_font = false vim.opt.number = true -- You can also add relative line numbers, to help with jumping. -- Experiment for yourself to see if you like it! --- vim.opt.relativenumber = true +vim.opt.relativenumber = true -- Enable mouse mode, can be useful for resizing splits for example! vim.opt.mouse = 'a' From ec42464b081e02809a75eab2fb6ad18fa725dd13 Mon Sep 17 00:00:00 2001 From: nagymathev Date: Wed, 10 Jul 2024 11:05:43 +0100 Subject: [PATCH 2/5] replace nixd with nil --- lua/kickstart/plugins/lsp.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/kickstart/plugins/lsp.lua b/lua/kickstart/plugins/lsp.lua index 5c9ba1ee..7d4c09e2 100644 --- a/lua/kickstart/plugins/lsp.lua +++ b/lua/kickstart/plugins/lsp.lua @@ -253,7 +253,9 @@ return { -- But for many setups, the LSP (`tsserver`) will work just fine -- tsserver = {}, -- - nixd = {}, + ['nil_ls'] = { + alias = 'nil', + }, bashls = { alias = 'bash-language-server', }, From 9f2234ad68f4aae3b1659ce5a6cd0702dd6284a5 Mon Sep 17 00:00:00 2001 From: nagymathev Date: Wed, 10 Jul 2024 11:14:58 +0100 Subject: [PATCH 3/5] add rust lsp --- lua/kickstart/plugins/lsp.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/kickstart/plugins/lsp.lua b/lua/kickstart/plugins/lsp.lua index 7d4c09e2..82e45740 100644 --- a/lua/kickstart/plugins/lsp.lua +++ b/lua/kickstart/plugins/lsp.lua @@ -244,7 +244,9 @@ return { -- } -- } -- }, - -- rust_analyzer = {}, + rust_analyzer = { + alias = 'rust-analyzer', + }, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- -- Some languages (like typescript) have entire language plugins that can be useful: From d3adf6a4b8bac6e8d10571d4046867f11a92dc89 Mon Sep 17 00:00:00 2001 From: nagymathev Date: Wed, 10 Jul 2024 16:27:01 +0100 Subject: [PATCH 4/5] markdown lsp --- lua/kickstart/plugins/lsp.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/kickstart/plugins/lsp.lua b/lua/kickstart/plugins/lsp.lua index 82e45740..570a7b4c 100644 --- a/lua/kickstart/plugins/lsp.lua +++ b/lua/kickstart/plugins/lsp.lua @@ -238,7 +238,7 @@ return { -- plugins = { -- pycodestyle = { -- ignore = {}, - -- maxLineLength = 120, + -- maxLineLength = 120, -- }, -- }, -- } @@ -247,6 +247,10 @@ return { rust_analyzer = { alias = 'rust-analyzer', }, + + markdown_oxide = { + alias = 'markdown-oxide', + }, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- -- Some languages (like typescript) have entire language plugins that can be useful: From 27e15143a3ac4e4bcbe7afe65c6ec9b2d40b3ce2 Mon Sep 17 00:00:00 2001 From: nagymathev Date: Fri, 12 Jul 2024 13:59:16 +0100 Subject: [PATCH 5/5] enable autopairs --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 7e13dad5..858ccf2a 100644 --- a/init.lua +++ b/init.lua @@ -279,6 +279,7 @@ require('lazy').setup({ require 'kickstart.plugins.lsp', + require 'kickstart.plugins.autopairs', { -- Autoformat 'stevearc/conform.nvim', lazy = false,