mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-25 04:27:46 +01:00
nvim: load colorscheme first and indent on demand
This commit is contained in:
parent
131c2084a4
commit
580eb5dc2a
@ -16,6 +16,7 @@ return require("lazy").setup({
|
||||
-- colorscheme
|
||||
{
|
||||
'tiyn/tccs.nvim',
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require('tccs').setup()
|
||||
vim.cmd('colorscheme tccs')
|
||||
@ -31,6 +32,7 @@ return require("lazy").setup({
|
||||
-- show indentation lines
|
||||
{
|
||||
'lukas-reineke/indent-blankline.nvim',
|
||||
event = "BufReadPre",
|
||||
opts = {
|
||||
show_current_context = true,
|
||||
show_current_context_start = true
|
||||
@ -141,9 +143,6 @@ return require("lazy").setup({
|
||||
config = function()
|
||||
require("null-ls").setup({
|
||||
sources = {
|
||||
require("null-ls-embedded").nls_source.with({
|
||||
filetypes = { "markdown" }
|
||||
}),
|
||||
require("null-ls").builtins.formatting.black,
|
||||
require("null-ls").builtins.formatting.mdformat
|
||||
}
|
||||
@ -155,10 +154,9 @@ return require("lazy").setup({
|
||||
opts = {
|
||||
automatic_installation = true,
|
||||
ensure_installed = { "black", "mdformat" }
|
||||
|
||||
}
|
||||
},
|
||||
'LostNeophyte/null-ls-embedded'
|
||||
|
||||
},
|
||||
opts = {
|
||||
ui = {
|
||||
@ -202,11 +200,10 @@ return require("lazy").setup({
|
||||
automatic_setup = true,
|
||||
ensure_installed = {
|
||||
"bashls",
|
||||
"jdtls",
|
||||
"lua_ls",
|
||||
"marksman",
|
||||
"nimls",
|
||||
"pyright",
|
||||
"pylsp",
|
||||
"texlab"
|
||||
}
|
||||
})
|
||||
@ -367,21 +364,18 @@ return require("lazy").setup({
|
||||
'p00f/nvim-ts-rainbow',
|
||||
},
|
||||
config = function()
|
||||
require("nvim-treesitter").setup({
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = {
|
||||
"bash",
|
||||
"c",
|
||||
"cpp",
|
||||
"css",
|
||||
"html",
|
||||
"java",
|
||||
"markdown",
|
||||
"latex",
|
||||
"python",
|
||||
"lua",
|
||||
},
|
||||
highlight = { enable = true },
|
||||
autotag = { enable = true },
|
||||
})
|
||||
require("nvim-treesitter.configs").setup({
|
||||
rainbow = {
|
||||
enable = true,
|
||||
extended_mode = true,
|
||||
@ -588,7 +582,7 @@ return require("lazy").setup({
|
||||
config = function()
|
||||
vim.o.nospell = true
|
||||
end
|
||||
}
|
||||
},
|
||||
|
||||
},
|
||||
-- lazy.nvim configuration
|
||||
|
Loading…
x
Reference in New Issue
Block a user