long overdue update for nvim 0.12
This commit is contained in:
@@ -156,7 +156,7 @@ function M.lualine()
|
|||||||
return tab_mode()
|
return tab_mode()
|
||||||
end,
|
end,
|
||||||
max_length = function()
|
max_length = function()
|
||||||
return columns(1)
|
return columns(5)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ local config = require("plugins.config")
|
|||||||
package_manager.bootstrap()
|
package_manager.bootstrap()
|
||||||
package_manager.install_plugins()
|
package_manager.install_plugins()
|
||||||
|
|
||||||
-- KEEPING
|
|
||||||
config.rnvimr()
|
config.rnvimr()
|
||||||
config.fzf()
|
config.fzf()
|
||||||
config.fzf_checkout()
|
config.fzf_checkout()
|
||||||
@@ -14,11 +13,7 @@ config.auto_session()
|
|||||||
config.undotree()
|
config.undotree()
|
||||||
config.indent_blankline()
|
config.indent_blankline()
|
||||||
config.lualine()
|
config.lualine()
|
||||||
config.nvim_treesitter()
|
|
||||||
config.tokyonight()
|
config.tokyonight()
|
||||||
|
|
||||||
-- UPDATING
|
|
||||||
config.hop()
|
|
||||||
config.rustaceanvim()
|
config.rustaceanvim()
|
||||||
|
|
||||||
-- LSP STUFF
|
-- LSP STUFF
|
||||||
@@ -26,4 +21,8 @@ config.nvim_autopairs()
|
|||||||
config.luasnip()
|
config.luasnip()
|
||||||
require("plugins.lsp_setup")
|
require("plugins.lsp_setup")
|
||||||
config.null_ls()
|
config.null_ls()
|
||||||
config.tailwind_tools()
|
|
||||||
|
-- DEPRECATED/DEAD/OLD
|
||||||
|
--config.hop()
|
||||||
|
--config.tailwind_tools()
|
||||||
|
--config.nvim_treesitter()
|
||||||
|
|||||||
+13
-22
@@ -22,7 +22,7 @@ function M.install_plugins()
|
|||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
spec = {
|
spec = {
|
||||||
-- NAVIGATION
|
-- NAVIGATION
|
||||||
"phaazon/hop.nvim",
|
--"smoka7/hop.nvim",
|
||||||
|
|
||||||
-- VIM THEMING
|
-- VIM THEMING
|
||||||
"folke/tokyonight.nvim",
|
"folke/tokyonight.nvim",
|
||||||
@@ -53,11 +53,11 @@ function M.install_plugins()
|
|||||||
|
|
||||||
-- LSP
|
-- LSP
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
--"nvim-treesitter/nvim-treesitter",
|
||||||
|
"guy176251/nvim-treesitter",
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
},
|
},
|
||||||
"nvim-treesitter/nvim-treesitter-context",
|
"nvim-treesitter/nvim-treesitter-context",
|
||||||
"nvim-treesitter/playground",
|
|
||||||
"nvimtools/none-ls.nvim",
|
"nvimtools/none-ls.nvim",
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs",
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
@@ -92,15 +92,16 @@ function M.install_plugins()
|
|||||||
},
|
},
|
||||||
|
|
||||||
-- TAILWIND
|
-- TAILWIND
|
||||||
{
|
-- deprecated
|
||||||
"luckasRanarison/tailwind-tools.nvim",
|
--{
|
||||||
name = "tailwind-tools",
|
-- "luckasRanarison/tailwind-tools.nvim",
|
||||||
build = ":UpdateRemotePlugins",
|
-- name = "tailwind-tools",
|
||||||
dependencies = {
|
-- build = ":UpdateRemotePlugins",
|
||||||
"nvim-treesitter/nvim-treesitter",
|
-- dependencies = {
|
||||||
"neovim/nvim-lspconfig", -- optional
|
-- "nvim-treesitter/nvim-treesitter",
|
||||||
},
|
-- "neovim/nvim-lspconfig", -- optional
|
||||||
},
|
-- },
|
||||||
|
--},
|
||||||
|
|
||||||
-- LUA
|
-- LUA
|
||||||
{
|
{
|
||||||
@@ -108,16 +109,6 @@ function M.install_plugins()
|
|||||||
ft = "lua", -- only load on lua files
|
ft = "lua", -- only load on lua files
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
|
|
||||||
-- CSHARP
|
|
||||||
{
|
|
||||||
"seblyng/roslyn.nvim",
|
|
||||||
---@module 'roslyn.config'
|
|
||||||
---@type RoslynNvimConfig
|
|
||||||
opts = {
|
|
||||||
-- your configuration comes here; leave empty for default settings
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ local html_filetypes = { "html", "templ", "htmldjango" }
|
|||||||
vim.lsp.config("ts_ls", {
|
vim.lsp.config("ts_ls", {
|
||||||
settings = {
|
settings = {
|
||||||
implicitProjectConfiguration = {
|
implicitProjectConfiguration = {
|
||||||
--checkJs = true,
|
checkJs = true,
|
||||||
experimentalDecorators = true,
|
experimentalDecorators = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -177,5 +177,5 @@ vim.lsp.enable({
|
|||||||
"templ",
|
"templ",
|
||||||
"ts_ls",
|
"ts_ls",
|
||||||
"zls",
|
"zls",
|
||||||
"roslyn",
|
"csharp_ls",
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user