Add fold capa / remove ondarker plugin / add correct jdtls support

This commit is contained in:
Alessandro
2024-09-03 16:23:41 +02:00
parent 6225c2d87d
commit e95226daa6
7 changed files with 51 additions and 43 deletions

View File

@@ -1,18 +1,14 @@
return {
{
"stevearc/conform.nvim",
-- event = 'BufWritePre', -- uncomment for format on save
opts = require "configs.conform",
},
-- These are some examples, uncomment them if you want to see them work!
{
"neovim/nvim-lspconfig",
config = function()
require "configs.lspconfig"
end,
},
{
"Pocco81/auto-save.nvim",
config = function()
@@ -20,7 +16,6 @@ return {
end,
lazy = false,
},
{
"nvim-treesitter/nvim-treesitter",
opts = require "configs.default-ts",
@@ -32,4 +27,4 @@ return {
"nvim-tree/nvim-tree.lua",
opts = require "configs.nvim-tree",
},
}
}

View File

@@ -1,19 +0,0 @@
return {
"navarasu/onedark.nvim",
lazy = false,
config = function()
require("onedark").setup {
style = "darker", -- Default theme style. Choose between 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer' and 'light'
toggle_style_key = "<leader>ss",
transparent = false, -- Show/hide background
code_style = {
comments = "italic",
keywords = "italic,",
functions = "bold",
strings = "none",
variables = "none",
},
}
end,
}

12
nvim/lua/plugins/ufo.lua Normal file
View File

@@ -0,0 +1,12 @@
return {
"kevinhwang91/nvim-ufo",
config = function()
require("ufo").setup {
provider_selector = function(bufnr, filetype, buftype)
return { "treesitter", "indent" }
end,
}
end,
lazy = false,
dependencies = { "kevinhwang91/promise-async" },
}