mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
fix(nvim): upgrade to LazyVim 15.x
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
-- Minimap
|
||||
-- https://github.com/gorbit99/codewindow.nvim
|
||||
return {
|
||||
"gorbit99/codewindow.nvim",
|
||||
config = function()
|
||||
local codewindow = require("codewindow")
|
||||
codewindow.setup({
|
||||
window_border = "none",
|
||||
})
|
||||
codewindow.apply_default_keybinds()
|
||||
end,
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
-- Package manager for LSP servers, DAP servers, linters, and formatters
|
||||
-- https://github.com/williamboman/mason.nvim
|
||||
-- https://github.com/mason-org/mason.nvim
|
||||
return {
|
||||
"williamboman/mason.nvim",
|
||||
"mason-org/mason.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"astro-language-server",
|
||||
|
||||
@@ -14,5 +14,5 @@ return {
|
||||
icons = {},
|
||||
},
|
||||
},
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.nvim" },
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-mini/mini.nvim" },
|
||||
}
|
||||
|
||||
@@ -1,55 +1,52 @@
|
||||
-- Nvim Treesitter configurations
|
||||
-- https://github.com/nvim-treesitter/nvim-treesitter
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
depencendies = {
|
||||
"nvim-treesitter/playground",
|
||||
},
|
||||
opts = {
|
||||
indent = { enable = false },
|
||||
ensure_installed = {
|
||||
"astro",
|
||||
"bash",
|
||||
"css",
|
||||
"fish",
|
||||
"gitignore",
|
||||
"go",
|
||||
"gomod",
|
||||
"gosum",
|
||||
"gowork",
|
||||
"graphql",
|
||||
"html",
|
||||
"http",
|
||||
"javascript",
|
||||
"json",
|
||||
"lua",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"python",
|
||||
"query",
|
||||
"regex",
|
||||
"scss",
|
||||
"sql",
|
||||
"svelte",
|
||||
"tsx",
|
||||
"typescript",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"yaml",
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("nvim-treesitter.configs").setup(opts)
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
indent = { enable = true }, -- previously "false"
|
||||
highlight = { enable = true },
|
||||
folds = { enable = true },
|
||||
ensure_installed = {
|
||||
"astro",
|
||||
"bash",
|
||||
"css",
|
||||
"fish",
|
||||
"gitignore",
|
||||
"go",
|
||||
"gomod",
|
||||
"gosum",
|
||||
"gowork",
|
||||
"graphql",
|
||||
"html",
|
||||
"http",
|
||||
"javascript",
|
||||
"json",
|
||||
"lua",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"python",
|
||||
"query",
|
||||
"regex",
|
||||
"scss",
|
||||
"sql",
|
||||
"svelte",
|
||||
"tsx",
|
||||
"typescript",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"yaml",
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
-- Add custom filetypes
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
mdx = "mdx",
|
||||
rss = "rss",
|
||||
},
|
||||
})
|
||||
|
||||
-- Add custom filetypes
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
mdx = "mdx",
|
||||
rss = "rss",
|
||||
},
|
||||
})
|
||||
|
||||
vim.treesitter.language.register("markdown", "mdx")
|
||||
vim.treesitter.language.register("xml", "rss")
|
||||
end,
|
||||
vim.treesitter.language.register("markdown", "mdx")
|
||||
vim.treesitter.language.register("xml", "rss")
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user