neovim config fixes
This commit is contained in:
parent
4909bf8662
commit
4e88cd1576
4 changed files with 3 additions and 15 deletions
|
@ -81,6 +81,6 @@ capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||||
|
|
||||||
local cmp_lsp = require("cmp_nvim_lsp")
|
local cmp_lsp = require("cmp_nvim_lsp")
|
||||||
|
|
||||||
M.capabilities = cmp_lsp.update_capabilities(capabilities)
|
M.capabilities = cmp_lsp.default_capabilities(capabilities)
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
local present, _ = pcall(require, "nightfox")
|
|
||||||
|
|
||||||
if present then
|
|
||||||
vim.cmd("colorscheme nordfox")
|
|
||||||
end
|
|
|
@ -1,7 +1,7 @@
|
||||||
local treesitter = require("nvim-treesitter.configs")
|
local treesitter = require("nvim-treesitter.configs")
|
||||||
|
|
||||||
treesitter.setup({
|
treesitter.setup({
|
||||||
sync_install = false,
|
ensure_installed = "all",
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
|
|
@ -26,7 +26,7 @@ vim.api.nvim_create_autocmd("User", {
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.cmd("CatppuccinCompile")
|
vim.cmd("CatppuccinCompile")
|
||||||
vim.defer_fn(function()
|
vim.defer_fn(function()
|
||||||
vim.cmd("colorscheme catppuccin")
|
require("plugins.configs.catppuccin")
|
||||||
end, 0)
|
end, 0)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -81,13 +81,6 @@ return packer.startup(function(use)
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Colorscheme
|
-- Colorscheme
|
||||||
use({
|
|
||||||
"EdenEast/nightfox.nvim",
|
|
||||||
run = ":NightfoxCompile",
|
|
||||||
config = function()
|
|
||||||
-- require("plugins.configs.nightfox")
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
use({
|
use({
|
||||||
"catppuccin/nvim",
|
"catppuccin/nvim",
|
||||||
config = function()
|
config = function()
|
||||||
|
|
Reference in a new issue