aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins')
-rw-r--r--.config/nvim/lua/plugins/colorscheme.lua26
-rw-r--r--.config/nvim/lua/plugins/lsp.lua1
-rw-r--r--.config/nvim/lua/plugins/modify-blend.lua61
3 files changed, 57 insertions, 31 deletions
diff --git a/.config/nvim/lua/plugins/colorscheme.lua b/.config/nvim/lua/plugins/colorscheme.lua
index 1f76a40..0ee4364 100644
--- a/.config/nvim/lua/plugins/colorscheme.lua
+++ b/.config/nvim/lua/plugins/colorscheme.lua
@@ -1,6 +1,6 @@
-- Colorscheme
-- ayu gruvbox molokai onedark srcery everblush vscode edge nightfly doom-one
-local colorscheme = "onedark"
+local colorscheme = "nightfly"
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
if not status_ok then
vim.notify("colorscheme " .. colorscheme .. " not found!")
@@ -37,3 +37,27 @@ au WinLeave * setl winhl=WinSeparator:WinSeparator
require("notify").setup({
background_colour = "#000000",
})
+-- let g:terminal_color_0 = '#2e3436'
+-- let g:terminal_color_1 = '#cc0000'
+-- let g:terminal_color_2 = '#4e9a06'
+-- let g:terminal_color_3 = '#c4a000'
+-- let g:terminal_color_4 = '#3465a4'
+-- let g:terminal_color_5 = '#75507b'
+-- let g:terminal_color_6 = '#0b939b'
+-- let g:terminal_color_7 = '#d3d7cf'
+-- let g:terminal_color_8 = '#555753'
+-- let g:terminal_color_9 = '#ef2929'
+-- let g:terminal_color_10 = '#8ae234'
+-- let g:terminal_color_11 = '#fce94f'
+-- let g:terminal_color_12 = '#729fcf'
+-- let g:terminal_color_13 = '#ad7fa8'
+-- let g:terminal_color_14 = '#00f5e9'
+-- let g:terminal_color_15 = '#eeeeec'
+--
+-- set background=dark
+-- execute "silent! colorscheme base16-eighties"
+-- highlight Comment guifg=#585858
+-- highlight Normal guifg=#999999
+-- "highlight TabLine guifg=#333333 guibg=#777777
+-- "highlight TabLineSel guifg=#FA7F7F
+-- highlight MatchParen gui=bold guibg=black guifg=limegreen
diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua
index 900121f..924db87 100644
--- a/.config/nvim/lua/plugins/lsp.lua
+++ b/.config/nvim/lua/plugins/lsp.lua
@@ -257,7 +257,6 @@ vim.diagnostic.config({
severity_sort = false, -- default to false
})
-vim.o.updatetime = 250
vim.cmd[[
augroup OpenFloat
autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focusable = false,})
diff --git a/.config/nvim/lua/plugins/modify-blend.lua b/.config/nvim/lua/plugins/modify-blend.lua
index 7c48815..4cb2bdd 100644
--- a/.config/nvim/lua/plugins/modify-blend.lua
+++ b/.config/nvim/lua/plugins/modify-blend.lua
@@ -1,40 +1,43 @@
local ui = vim.api.nvim_list_uis()[1]
-local bufnr = vim.api.nvim_create_buf(false, true)
+local bufnr = vim.api.nvim_create_buf(true, true)
local win = vim.api.nvim_open_win(bufnr, true, {
- relative = "editor",
+ --relative = "editor",
+ relative = "cursor",
width = ui.width,
height = ui.height,
+ anchor = "NE",
row = 10,
col = 10,
style = "minimal",
+ zindex = 50,
})
vim.api.nvim_win_set_option(win, "winblend", 1)
-
-local blend_start = 15
-local offset = 1
-
-CANCEL = false
-local timer = vim.loop.new_timer()
-timer:start(
- 0,
- 50,
- vim.schedule_wrap(function()
- blend_start = blend_start + offset
-
- if blend_start > 90 then
- offset = -1
- elseif blend_start < 10 then
- offset = 1
- end
-
- if CANCEL or not vim.api.nvim_win_is_valid(win) then
- timer:close()
- timer:stop()
- return
- end
-
- vim.cmd([[highlight NormalFloat blend=]] .. tostring(blend_start))
- end)
-)
+--
+--local blend_start = 15
+--local offset = 1
+--
+--CANCEL = false
+--local timer = vim.loop.new_timer()
+--timer:start(
+-- 0,
+-- 50,
+-- vim.schedule_wrap(function()
+-- blend_start = blend_start + offset
+--
+-- if blend_start > 90 then
+-- offset = -1
+-- elseif blend_start < 10 then
+-- offset = 1
+-- end
+--
+-- if CANCEL or not vim.api.nvim_win_is_valid(win) then
+-- timer:close()
+-- timer:stop()
+-- return
+-- end
+--
+-- vim.cmd([[highlight NormalFloat blend=]] .. tostring(blend_start))
+-- end)
+--)