Compare commits

..

No commits in common. "be24b8546fa11b782bd6e079c10b77ae3fbada9e" and "33e5350bbb39ed08372322ccc1d95dd0d0f1a4e4" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View file

@ -13,6 +13,9 @@ return function(_, bufnr)
vim.keymap.set('n', '<leader>wa', vim.lsp.buf.add_workspace_folder, bufopts)
vim.keymap.set('n', '<leader>wr', vim.lsp.buf.remove_workspace_folder, bufopts)
vim.keymap.set('n', '<leader>wl', function()
print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
end, bufopts)
vim.api.nvim_buf_create_user_command(bufnr, "LspSetWorkspace", function()
for _, workspace in ipairs(vim.lsp.buf.list_workspace_folders()) do
@ -34,8 +37,4 @@ return function(_, bufnr)
vim.api.nvim_buf_create_user_command(bufnr, "Format", function()
vim.lsp.buf.format()
end, {})
vim.api.nvim_buf_create_user_command(bufnr, "LspWorkspaces", function()
print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
end, bufopts)
end

View file

@ -49,11 +49,9 @@ use {
'AlessandroYorba/Alduin';
'AlessandroYorba/Sierra';
'DarkWiiPlayer/papercolor-theme';
'axvr/photon.vim';
'ayu-theme/ayu-vim';
'dracula/vim';
'jaredgorski/fogbell.vim';
'kvrohit/mellow';
'optionalg/Arcadia';
'rakr/vim-two-firewatch';
'rebelot/kanagawa.nvim';