improved colors
This commit is contained in:
parent
fbc1578825
commit
5902983705
|
|
@ -1 +1,2 @@
|
||||||
vim.api.nvim_set_keymap("n", "<leader>f", "<CMD>Telescope find_files<CR>", {silent = true})
|
vim.api.nvim_set_keymap("n", "<leader>f", "<CMD>Telescope find_files<CR>", {silent = true})
|
||||||
|
vim.api.nvim_set_keymap("", "q:", "<Nop>", {silent = true})
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,13 @@ return require("packer").startup(
|
||||||
function()
|
function()
|
||||||
-- Packer can manage itself
|
-- Packer can manage itself
|
||||||
use "wbthomason/packer.nvim"
|
use "wbthomason/packer.nvim"
|
||||||
use "MasterGordon/monokai.nvim"
|
use {
|
||||||
|
"MasterGordon/monokai.nvim",
|
||||||
|
config = function()
|
||||||
|
require("monokai").setup()
|
||||||
|
end
|
||||||
|
}
|
||||||
|
-- use "folke/tokyonight.nvim"
|
||||||
use {
|
use {
|
||||||
"glepnir/galaxyline.nvim",
|
"glepnir/galaxyline.nvim",
|
||||||
branch = "main",
|
branch = "main",
|
||||||
|
|
@ -53,6 +59,10 @@ return require("packer").startup(
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
use {
|
||||||
|
"nvim-treesitter/playground",
|
||||||
|
requires = {"nvim-treesitter/nvim-treesitter"}
|
||||||
|
}
|
||||||
use {
|
use {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
run = ":TSUpdate",
|
run = ":TSUpdate",
|
||||||
|
|
@ -68,7 +78,10 @@ return require("packer").startup(
|
||||||
enable_autocmd = true
|
enable_autocmd = true
|
||||||
},
|
},
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true
|
enable = true,
|
||||||
|
custom_captures = {
|
||||||
|
["jsx_element"] = "TSTag"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
indent = {
|
indent = {
|
||||||
enable = true
|
enable = true
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
local gl = require("galaxyline")
|
local gl = require("galaxyline")
|
||||||
local colors = require("galaxyline.theme").default
|
local colors = require("galaxyline.theme").default
|
||||||
local monokai = require("monokai")
|
local theme = require("monokai")
|
||||||
local condition = require("galaxyline.condition")
|
local condition = require("galaxyline.condition")
|
||||||
local gls = gl.section
|
local gls = gl.section
|
||||||
colors.bg = monokai.bg
|
colors.bg = theme.classic.base3
|
||||||
gl.short_line_list = {"NvimTree", "vista", "dbui", "packer"}
|
gl.short_line_list = {"NvimTree", "vista", "dbui", "packer"}
|
||||||
|
|
||||||
gls.left[2] = {
|
gls.left[2] = {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
vim.g.nvim_tree_auto_close = 1
|
vim.g.nvim_tree_auto_close = 1
|
||||||
vim.g.nvim_tree_ignore = {".git", "node_modules", ".cache"}
|
vim.g.nvim_tree_ignore = {".git", "node_modules", ".cache"}
|
||||||
vim.g.nvim_tree_indent_markers = 1
|
vim.g.nvim_tree_indent_markers = 1
|
||||||
vim.api.nvim_set_keymap("", "<TAB>", ":NvimTreeFindFile<CR>", {})
|
vim.api.nvim_set_keymap("", "<TAB>", ":NvimTreeFindFile<CR>", {silent = true})
|
||||||
|
|
||||||
vim.g.nvim_tree_icons = {
|
vim.g.nvim_tree_icons = {
|
||||||
default = "",
|
default = "",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue