Backup
This commit is contained in:
parent
32b53a7fd6
commit
811660e30a
11 changed files with 49 additions and 8 deletions
dotfiles/neovim/lua/my/plugins
|
@ -35,6 +35,13 @@ function M.setup()
|
|||
-- require("my.plugins.notify").setup()
|
||||
end)
|
||||
|
||||
if env.neovide.active() then
|
||||
require("my.plugins.neovide").setup()
|
||||
else
|
||||
-- Neovide already provides this functionality!
|
||||
vim.cmd [[packadd! vim-smoothie]]
|
||||
end
|
||||
|
||||
if env.firevim.active() then
|
||||
require("my.plugins.firevim").setup()
|
||||
else
|
||||
|
|
|
@ -105,6 +105,10 @@ local servers = {
|
|||
M.capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
|
||||
function M.setup()
|
||||
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover,
|
||||
{ border = "single" })
|
||||
vim.lsp.handlers["textDocument/signatureHelp"] =
|
||||
vim.lsp.with(vim.lsp.handlers.signature_help, { border = "single" })
|
||||
|
||||
-- Setup basic language servers
|
||||
for lsp, details in pairs(servers) do
|
||||
|
|
9
dotfiles/neovim/lua/my/plugins/neovide.lua
Normal file
9
dotfiles/neovim/lua/my/plugins/neovide.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
vim.g.neovide_floating_blur_amount_x = 2.0
|
||||
vim.g.neovide_floating_blur_amount_y = 2.0
|
||||
-- vim.g.neovide_transparency = 0.8
|
||||
end
|
||||
|
||||
return M
|
Loading…
Add table
Add a link
Reference in a new issue