Compare commits
3 commits
33e5350bbb
...
be24b8546f
Author | SHA1 | Date | |
---|---|---|---|
be24b8546f | |||
ab08f3d22a | |||
d491d12239 |
2 changed files with 6 additions and 3 deletions
|
@ -13,9 +13,6 @@ 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
|
||||
|
@ -37,4 +34,8 @@ 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
|
||||
|
|
|
@ -49,9 +49,11 @@ 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';
|
||||
|
|
Loading…
Reference in a new issue