Compare commits
No commits in common. "3653450a93e2881d5d4653b1cd46852bee383218" and "6490787142c3b9b21f3ab0111058bd67399c3ca0" have entirely different histories.
3653450a93
...
6490787142
2 changed files with 2 additions and 40 deletions
|
@ -15,18 +15,7 @@ vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
-- Installing plugins
|
-- Installing plugins
|
||||||
require('lazy').setup({
|
require('lazy').setup({
|
||||||
{
|
{ "catppuccin/nvim", name = "catppuccin" }, -- Color scheme
|
||||||
"catppuccin/nvim",
|
|
||||||
name = "catppuccin",
|
|
||||||
config = function()
|
|
||||||
require("catppuccin").setup({
|
|
||||||
flavour = "macchiato",
|
|
||||||
integrations = {
|
|
||||||
navic = true,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end
|
|
||||||
}, -- Color scheme
|
|
||||||
{
|
{
|
||||||
dir = "./lua/term_powershell.lua",
|
dir = "./lua/term_powershell.lua",
|
||||||
cond = function()
|
cond = function()
|
||||||
|
@ -144,18 +133,6 @@ require('lazy').setup({
|
||||||
'folke/trouble.nvim',
|
'folke/trouble.nvim',
|
||||||
-- config = function
|
-- config = function
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'SmiteshP/nvim-navic',
|
|
||||||
-- event = 'BufReadPre',
|
|
||||||
dependencies = {
|
|
||||||
'neovim/nvim-lspconfig',
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require 'nvim-navic'.setup {
|
|
||||||
highlight = true,
|
|
||||||
}
|
|
||||||
end
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'Julian/lean.nvim',
|
'Julian/lean.nvim',
|
||||||
event = { 'BufReadPre *.lean', 'BufNewFile *.lean' },
|
event = { 'BufReadPre *.lean', 'BufNewFile *.lean' },
|
||||||
|
@ -492,7 +469,6 @@ require 'nvim-treesitter.configs'.setup {
|
||||||
-- LSP config
|
-- LSP config
|
||||||
|
|
||||||
local lspconfig = require 'lspconfig'
|
local lspconfig = require 'lspconfig'
|
||||||
local navic = require 'nvim-navic'
|
|
||||||
|
|
||||||
-- Mapping for language server
|
-- Mapping for language server
|
||||||
-- See `:help vim.diagnostic.* for documentation on any of the below functions
|
-- See `:help vim.diagnostic.* for documentation on any of the below functions
|
||||||
|
@ -526,10 +502,6 @@ local on_attach = function(client, bufnr)
|
||||||
vim.keymap.set('n', '<space>ca', vim.lsp.buf.code_action, bufopts)
|
vim.keymap.set('n', '<space>ca', vim.lsp.buf.code_action, bufopts)
|
||||||
vim.keymap.set('n', 'grf', vim.lsp.buf.references, bufopts)
|
vim.keymap.set('n', 'grf', vim.lsp.buf.references, bufopts)
|
||||||
vim.keymap.set('n', '<space>f', function() vim.lsp.buf.format { async = true } end, bufopts)
|
vim.keymap.set('n', '<space>f', function() vim.lsp.buf.format { async = true } end, bufopts)
|
||||||
|
|
||||||
if client.server_capabilities.documentSymbolProvider then
|
|
||||||
navic.attach(client, bufnr)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- cmp_nvim_lsp supports additional LSP completion capabilities
|
-- cmp_nvim_lsp supports additional LSP completion capabilities
|
||||||
|
|
|
@ -7,8 +7,6 @@ local lsp_names = function ()
|
||||||
return ' ' .. table.concat(clients, ', ')
|
return ' ' .. table.concat(clients, ', ')
|
||||||
end
|
end
|
||||||
|
|
||||||
local navic = require('nvim-navic')
|
|
||||||
|
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
|
@ -45,15 +43,7 @@ require('lualine').setup {
|
||||||
lualine_z = {}
|
lualine_z = {}
|
||||||
},
|
},
|
||||||
tabline = {},
|
tabline = {},
|
||||||
winbar = {
|
winbar = {},
|
||||||
lualine_c = {
|
|
||||||
{
|
|
||||||
"navic",
|
|
||||||
color_correction = nil,
|
|
||||||
navic_opts = nil,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
inactive_winbar = {},
|
inactive_winbar = {},
|
||||||
extensions = {}
|
extensions = {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue