the color aint working
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
vim.g.mapleader = " "
|
||||
|
||||
-- https://github.com/vx-clutch/ftl
|
||||
vim.filetype.add {
|
||||
extension = {
|
||||
ftl = "ftl",
|
||||
},
|
||||
}
|
||||
|
||||
require "vxclutch.set"
|
||||
require "vxclutch.lazy_init"
|
||||
vim.api.nvim_set_hl(0, "Function", { bold = false }) -- Must be called last.
|
||||
require "vxclutch.remap"
|
||||
vim.api.nvim_set_hl(0, "Function", { bold = false }) -- Must be called last.
|
||||
require("nvim-colorizer").setup()
|
||||
|
||||
@@ -8,23 +8,6 @@ function ColorMyPencils(color)
|
||||
end
|
||||
|
||||
return {
|
||||
{
|
||||
"folke/paint.nvim",
|
||||
config = function()
|
||||
require("paint").setup {
|
||||
highlights = {
|
||||
{
|
||||
-- filter can be a table of buffer options that should match,
|
||||
-- or a function called with buf as param that should return true.
|
||||
-- The example below will paint @something in comments with Constant
|
||||
filter = { filetype = "ftl" },
|
||||
pattern = "%s*%-%-%-%s*(@%w+)",
|
||||
hl = "Constant",
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
"erikbackman/brightburn.vim",
|
||||
},
|
||||
|
||||
24
nvim/.config/nvim/lua/vxclutch/lazy/mini.lua
Normal file
24
nvim/.config/nvim/lua/vxclutch/lazy/mini.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
return {
|
||||
"echasnovski/mini.nvim",
|
||||
version = false,
|
||||
config = function()
|
||||
require("mini.ai").setup()
|
||||
require("mini.surround").setup()
|
||||
require("mini.pairs").setup()
|
||||
require("mini.pick").setup {
|
||||
window = {
|
||||
config = {
|
||||
anchor = "NW",
|
||||
row = 0,
|
||||
col = 0,
|
||||
width = 30,
|
||||
},
|
||||
style = 'minimal',
|
||||
border = 'rounded',
|
||||
},
|
||||
options = {
|
||||
use_cache = true,
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
@@ -21,25 +21,6 @@ return {
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
-- File navigation split with Oil
|
||||
vim.api.nvim_create_user_command("Pick", function()
|
||||
local origin_buf = vim.fn.bufnr()
|
||||
vim.cmd "new | Oil"
|
||||
|
||||
local oil_opened = false
|
||||
vim.api.nvim_create_autocmd("BufReadPost", {
|
||||
pattern = "*",
|
||||
callback = function()
|
||||
if vim.bo.filetype == "oil" then
|
||||
oil_opened = true
|
||||
end
|
||||
if vim.bo.filetype ~= "oil" and oil_opened then
|
||||
vim.api.nvim_buf_delete(origin_buf, { force = true })
|
||||
end
|
||||
end,
|
||||
})
|
||||
end, {})
|
||||
end,
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
}
|
||||
|
||||
@@ -12,6 +12,12 @@ return {
|
||||
"java",
|
||||
},
|
||||
|
||||
textobjects = {
|
||||
select = {
|
||||
enable = false,
|
||||
}
|
||||
},
|
||||
|
||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||
sync_install = false,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user