neovim: remove material colorscheme
This commit is contained in:
@@ -2,16 +2,11 @@ local telescope = require("telescope")
|
||||
local actions = require("telescope.actions")
|
||||
local layout_actions = require("telescope.actions.layout")
|
||||
|
||||
local winblend = 15
|
||||
if require("daniil.utils").get_colorscheme() == "poimandres" then
|
||||
winblend = 0
|
||||
end
|
||||
|
||||
telescope.setup({
|
||||
defaults = {
|
||||
sorting_strategy = "ascending",
|
||||
file_ignore_patterns = { ".git/", "node_modules/" },
|
||||
winblend = winblend,
|
||||
winblend = 15,
|
||||
mappings = {
|
||||
i = {
|
||||
["<C-j>"] = actions.move_selection_worse,
|
||||
|
||||
@@ -2,9 +2,7 @@ vim.api.nvim_set_hl(0, "SpellBad", {
|
||||
fg = "red",
|
||||
})
|
||||
|
||||
local colorscheme = require("daniil.utils").get_colorscheme()
|
||||
vim.cmd("colorscheme " .. colorscheme)
|
||||
|
||||
vim.cmd([[
|
||||
hi clear SignColumn
|
||||
colorscheme gruvbox-material
|
||||
]])
|
||||
|
||||
@@ -20,10 +20,7 @@ require("packer").startup(function(use)
|
||||
use({ "folke/neodev.nvim" })
|
||||
|
||||
-- Colorschemes go here
|
||||
use({
|
||||
{ "sainnhe/gruvbox-material" },
|
||||
{ "kaicataldo/material.vim" },
|
||||
})
|
||||
use({ "sainnhe/gruvbox-material" })
|
||||
|
||||
-- Make commenting code great
|
||||
use({
|
||||
|
||||
@@ -120,16 +120,6 @@ function M.is_inside_tmux()
|
||||
return TMUX ~= nil
|
||||
end
|
||||
|
||||
function M.get_colorscheme()
|
||||
local IS_TMUX = M.is_inside_tmux()
|
||||
|
||||
if IS_TMUX then
|
||||
return "gruvbox-material"
|
||||
else
|
||||
return "material"
|
||||
end
|
||||
end
|
||||
|
||||
function M.open_error_on_stackoverflow()
|
||||
local diagnostics = vim.lsp.diagnostic.get_line_diagnostics()
|
||||
local selected_diagnostic = M.select_diagnostic(diagnostics, "Select diagnostic to open on Stack Overflow")
|
||||
|
||||
Reference in New Issue
Block a user