mirror of
				https://github.com/halfdan/dotfiles.git
				synced 2025-10-31 12:36:12 +00:00 
			
		
		
		
	Several changes to statusbar
This commit is contained in:
		| @@ -29,6 +29,15 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with( | ||||
|   } | ||||
| ) | ||||
|  | ||||
| local saga = require 'lspsaga' | ||||
| saga.init_lsp_saga({ | ||||
|   -- symbols in winbar | ||||
|   symbol_in_winbar = true, | ||||
|   winbar_file_format = function()  | ||||
|       return vim.fn.expand("%=%m %f") | ||||
|   end, | ||||
| }) | ||||
|  | ||||
| -- symbols for autocomplete | ||||
| vim.lsp.protocol.CompletionItemKind = { | ||||
|     "   (Text) ", | ||||
| @@ -118,7 +127,7 @@ capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities) | ||||
|  | ||||
|  | ||||
| lspconfig['elixirls'].setup{ | ||||
|     cmd = { "/home/halfdan/opt/elixir-ls/rel/language_server.sh"}, | ||||
|     cmd = { "/Users/fbecker18/opt/elixir-ls/language_server.sh"}, | ||||
|     on_attach = on_attach, | ||||
|     capabilities = capabilities, | ||||
| } | ||||
|   | ||||
| @@ -86,7 +86,7 @@ return require("packer").startup( | ||||
|         use {'L3MON4D3/LuaSnip'}  | ||||
|         use {'saadparwaiz1/cmp_luasnip'} | ||||
|          | ||||
|         use {'tami5/lspsaga.nvim'} | ||||
|         use {'glepnir/lspsaga.nvim'} | ||||
|  | ||||
|         -- Used to display LSP status in Lualine | ||||
|         use {'nvim-lua/lsp-status.nvim'} | ||||
|   | ||||
| @@ -33,7 +33,9 @@ vim.wo.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shif | ||||
| vim.o.updatetime = 300 -- Faster completion | ||||
| vim.o.timeoutlen = O.timeoutlen -- By default timeoutlen is 1000 ms | ||||
| vim.o.clipboard = "unnamedplus" -- Copy paste between vim and everything else | ||||
|  | ||||
| vim.o.laststatus = 3 -- Set global status bar | ||||
| vim.opt.showtabline = 0 -- Disable tabline | ||||
| -- vim.opt.winbar = "%=%m %f" -- Show winbar with modified flag and filename right adjusted | ||||
|  | ||||
| -- Enable telescope theme | ||||
| vim.g.gruvbox_baby_telescope_theme = 1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user