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