Archived
0
0
Fork 0

neovim config fixes

This commit is contained in:
Daryl Ronningen 2022-11-17 01:01:31 -08:00
parent 4909bf8662
commit 4e88cd1576
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
4 changed files with 3 additions and 15 deletions

View file

@ -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

View file

@ -1,5 +0,0 @@
local present, _ = pcall(require, "nightfox")
if present then
vim.cmd("colorscheme nordfox")
end

View file

@ -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,

View file

@ -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()