feat: upgrade kickstart nvim config
This commit is contained in:
parent
8aaf781f67
commit
1293704600
@ -183,7 +183,7 @@ COPY ./patch/kickstart.nvim/updates.patch /tmp
|
||||
COPY ./config/nvim/lua/custom/plugins/init.lua /tmp
|
||||
RUN git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME}"/nvim \
|
||||
&& cd ${XDG_CONFIG_HOME}/nvim \
|
||||
&& git reset --hard 5aeddfdd5d0308506ec63b0e4f8de33e2a39355f \
|
||||
&& git reset --hard 2df5137e59c28fc9148148db8ed4a9f7abf73b4f \
|
||||
&& git apply /tmp/updates.patch \
|
||||
&& cp /tmp/init.lua ${XDG_CONFIG_HOME}/nvim/lua/custom/plugins \
|
||||
&& nvim --headless "+Lazy! sync" +qa
|
||||
|
@ -1,5 +1,5 @@
|
||||
diff --git a/init.lua b/init.lua
|
||||
index 88658ef..b2e4e40 100644
|
||||
index 624e23d..cfc184e 100644
|
||||
--- a/init.lua
|
||||
+++ b/init.lua
|
||||
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
|
||||
@ -39,7 +39,7 @@ index 88658ef..b2e4e40 100644
|
||||
-- [[ Basic Keymaps ]]
|
||||
-- See `:help vim.keymap.set()`
|
||||
|
||||
@@ -578,6 +586,28 @@ require('lazy').setup({
|
||||
@@ -577,6 +585,28 @@ require('lazy').setup({
|
||||
-- tsserver = {},
|
||||
--
|
||||
|
||||
@ -68,7 +68,7 @@ index 88658ef..b2e4e40 100644
|
||||
lua_ls = {
|
||||
-- cmd = {...},
|
||||
-- filetypes = { ...},
|
||||
@@ -592,6 +622,33 @@ require('lazy').setup({
|
||||
@@ -591,6 +621,33 @@ require('lazy').setup({
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -102,7 +102,7 @@ index 88658ef..b2e4e40 100644
|
||||
}
|
||||
|
||||
-- Ensure the servers and tools above are installed
|
||||
@@ -618,6 +675,33 @@ require('lazy').setup({
|
||||
@@ -617,6 +674,33 @@ require('lazy').setup({
|
||||
-- by the server configuration above. Useful when disabling
|
||||
-- certain features of an LSP (for example, turning off formatting for tsserver)
|
||||
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
|
||||
@ -136,11 +136,11 @@ index 88658ef..b2e4e40 100644
|
||||
require('lspconfig')[server_name].setup(server)
|
||||
end,
|
||||
},
|
||||
@@ -835,7 +919,38 @@ require('lazy').setup({
|
||||
@@ -834,7 +918,39 @@ require('lazy').setup({
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
build = ':TSUpdate',
|
||||
opts = {
|
||||
- ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' },
|
||||
- ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
|
||||
+ ensure_installed = {
|
||||
+ 'bash',
|
||||
+ 'c',
|
||||
@ -163,6 +163,7 @@ index 88658ef..b2e4e40 100644
|
||||
+ 'markdown',
|
||||
+ 'markdown_inline',
|
||||
+ 'python',
|
||||
+ 'query',
|
||||
+ 'sql',
|
||||
+ 'templ',
|
||||
+ 'terraform',
|
||||
@ -176,7 +177,7 @@ index 88658ef..b2e4e40 100644
|
||||
-- Autoinstall languages that are not installed
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
@@ -874,18 +989,18 @@ require('lazy').setup({
|
||||
@@ -873,18 +989,18 @@ require('lazy').setup({
|
||||
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
|
||||
--
|
||||
-- require 'kickstart.plugins.debug',
|
||||
|
Loading…
x
Reference in New Issue
Block a user