mirror of
https://github.com/NvChad/NvChad.git
synced 2025-07-21 00:00:10 -04:00
Compare commits
7 Commits
44959439fe
...
7a42e0f2a3
Author | SHA1 | Date | |
---|---|---|---|
|
7a42e0f2a3 | ||
|
c8638eea4b | ||
|
cb27ae0ed1 | ||
|
35ee0bc81d | ||
|
445d32c19f | ||
|
5748536742 | ||
|
ed18649e94 |
@ -87,8 +87,10 @@ autocmd("BufWritePost", {
|
||||
local config = require "nvconfig"
|
||||
|
||||
-- statusline
|
||||
require("plenary.reload").reload_module("nvchad.statusline." .. config.ui.statusline.theme)
|
||||
vim.opt.statusline = "%!v:lua.require('nvchad.statusline." .. config.ui.statusline.theme .. "').run()"
|
||||
if config.ui.statusline.theme ~= "custom" then
|
||||
require("plenary.reload").reload_module("nvchad.statusline." .. config.ui.statusline.theme)
|
||||
vim.opt.statusline = "%!v:lua.require('nvchad.statusline." .. config.ui.statusline.theme .. "').run()"
|
||||
end
|
||||
|
||||
-- tabufline
|
||||
if config.ui.tabufline.enabled then
|
||||
|
@ -4,7 +4,7 @@ local M = {}
|
||||
M.on_attach = function(client, bufnr)
|
||||
local utils = require "core.utils"
|
||||
local conf = require("nvconfig").ui.lsp
|
||||
|
||||
|
||||
-- semanticTokens
|
||||
if not conf.semantic_tokens and client.supports_method "textDocument/semanticTokens" then
|
||||
client.server_capabilities.semanticTokensProvider = nil
|
||||
|
@ -6,7 +6,7 @@ local default_plugins = {
|
||||
|
||||
{
|
||||
"NvChad/base46",
|
||||
branch = "dev",
|
||||
branch = "v3.0",
|
||||
build = function()
|
||||
require("base46").load_all_highlights()
|
||||
end,
|
||||
@ -14,7 +14,7 @@ local default_plugins = {
|
||||
|
||||
{
|
||||
"NvChad/ui",
|
||||
branch = "dev",
|
||||
branch = "v3.0",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require "nvchad"
|
||||
@ -246,7 +246,7 @@ local default_plugins = {
|
||||
-- Only load whichkey after all the gui
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
keys = { "<leader>", "<c-r>", '"', "'", "`", "c", "v", "g" },
|
||||
keys = { "<leader>", "<c-r>", "<c-w>", '"', "'", "`", "c", "v", "g" },
|
||||
init = function()
|
||||
require("core.utils").load_mappings "whichkey"
|
||||
end,
|
||||
|
Loading…
x
Reference in New Issue
Block a user