Add fold capa / remove ondarker plugin / add correct jdtls support
This commit is contained in:
@@ -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",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
12
nvim/lua/plugins/ufo.lua
Normal 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" },
|
||||
}
|
||||
Reference in New Issue
Block a user