update nvim + urxvt
This commit is contained in:
+14
-10
@@ -114,7 +114,7 @@ local on_attach = function(client, bufnr)
|
||||
vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts)
|
||||
vim.keymap.set('n', '<space>f', '<cmd>lua vim.lsp.buf.format({ async = true })<CR>', bufopts)
|
||||
|
||||
require "coq".lsp_ensure_capabilities {}
|
||||
-- require "coq".lsp_ensure_capabilities {}
|
||||
require 'illuminate'.on_attach(client)
|
||||
|
||||
-- format on save does not work for python for some reason
|
||||
@@ -133,8 +133,6 @@ end
|
||||
local lsp = require "lspconfig"
|
||||
local lsp_defaults = lsp.util.default_config
|
||||
|
||||
|
||||
|
||||
lsp.hls.setup { on_attach = on_attach } -- haskell language server
|
||||
lsp.pyright.setup { on_attach = on_attach }
|
||||
lsp.svelte.setup { on_attach = on_attach }
|
||||
@@ -156,8 +154,17 @@ lsp.lua_ls.setup { on_attach = on_attach,
|
||||
}
|
||||
}
|
||||
lsp.tailwindcss.setup { on_attach = on_attach }
|
||||
lsp.julials.setup {
|
||||
on_new_config = function(new_config, _)
|
||||
local julia = vim.fn.expand("~/.julia/environments/nvim-lspconfig/bin/julia")
|
||||
if lsp.util.path.is_file(julia) then
|
||||
vim.notify("running julials")
|
||||
new_config.cmd[1] = julia
|
||||
end
|
||||
end,
|
||||
on_attach = on_attach
|
||||
}
|
||||
|
||||
vim.cmd("colorscheme mellifluous")
|
||||
-- kill eslint_d on exit
|
||||
local on_leave_group = vim.api.nvim_create_augroup("OnLeaveGroup", {})
|
||||
vim.api.nvim_create_autocmd("VimLeave", {
|
||||
@@ -191,6 +198,8 @@ end
|
||||
return M]]
|
||||
--
|
||||
|
||||
vim.cmd("colorscheme carbonfox")
|
||||
|
||||
return require('packer').startup(function(use)
|
||||
use 'wbthomason/packer.nvim'
|
||||
use 'nvim-lua/plenary.nvim'
|
||||
@@ -209,12 +218,6 @@ return require('packer').startup(function(use)
|
||||
use {
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
}
|
||||
use {
|
||||
'ramojus/mellifluous.nvim',
|
||||
config = function()
|
||||
require('mellifluous').setup {}
|
||||
end
|
||||
}
|
||||
use {
|
||||
'nvim-tree/nvim-tree.lua',
|
||||
after = "nvim-web-devicons",
|
||||
@@ -443,4 +446,5 @@ return require('packer').startup(function(use)
|
||||
if packer_bootstrap then
|
||||
require('packer').sync()
|
||||
end
|
||||
use "EdenEast/nightfox.nvim"
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user