[feat] Change stuff around for nushell and neovim
This commit is contained in:
@@ -42,3 +42,4 @@ vim.cmd('hi EndOfBuffer guibg=' .. colors.black)
|
||||
-- vim.cmd('hi ToggleTerm1Buffer guibg='..colors.black)
|
||||
vim.cmd('hi NonText guibg=' .. colors.black)
|
||||
vim.cmd('hi link LspInlayHint Comment')
|
||||
vim.cmd('hi LspInlayHint guibg=nil')
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
local lspconfig = require 'lspconfig'
|
||||
local lspstatus = require 'lsp-status'
|
||||
local lsp_hints = require 'lsp-inlayhints'
|
||||
|
||||
local cmp_nvim_lsp = require 'cmp_nvim_lsp'
|
||||
local capabilities = cmp_nvim_lsp.default_capabilities()
|
||||
@@ -9,7 +8,6 @@ require("mason-lspconfig").setup_handlers {
|
||||
lspconfig[server_name].setup {
|
||||
on_attach = function(client, bufnr)
|
||||
lspstatus.on_attach(client, bufnr)
|
||||
lsp_hints.on_attach(client, bufnr)
|
||||
if client.server_capabilities.inlayHintProvider then
|
||||
vim.lsp.inlay_hint.enable(bufnr, true)
|
||||
end
|
||||
|
||||
@@ -562,15 +562,6 @@ return require('lazy').setup({
|
||||
})
|
||||
end
|
||||
},
|
||||
{
|
||||
"lvimuser/lsp-inlayhints.nvim",
|
||||
event = "LspAttach",
|
||||
config = function()
|
||||
require("lsp-inlayhints").setup({
|
||||
enabled_at_startup = true,
|
||||
})
|
||||
end
|
||||
}
|
||||
}, {
|
||||
defaults = {
|
||||
lazy = true,
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
local codelldb_path = '/Users/fs0c131y/.vscode-oss/extensions/vadimcn.vscode-lldb-1.8.1-universal/adapter/codelldb'
|
||||
local liblldb_path = '/Users/fs0c131y/.vscode-oss/extensions/vadimcn.vscode-lldb-1.8.1-universal/lldb/lib/liblldb.dylib'
|
||||
local lspstatus = require('lsp-status')
|
||||
local lsp_hints = require 'lsp-inlayhints'
|
||||
-- local lsp_signature = require('lsp_signature')
|
||||
|
||||
|
||||
@@ -52,7 +51,6 @@ vim.g.rustaceanvim = {
|
||||
server = {
|
||||
on_attach = function(client, bufnr)
|
||||
-- you can also put keymaps in here
|
||||
lsp_hints.on_attach(client, bufnr)
|
||||
lspstatus.on_attach(client, bufnr)
|
||||
if client.server_capabilities.inlayHintProvider then
|
||||
vim.lsp.inlay_hint.enable(bufnr, true)
|
||||
|
||||
Reference in New Issue
Block a user