a few more changes

This commit is contained in:
Andy Teijelo 2022-10-18 13:05:39 -04:00
parent 1b5fdb9724
commit f65af9d8c4
3 changed files with 6 additions and 2 deletions

View file

@ -26,3 +26,5 @@ require "user.lsp"
require "user.exrc"
--require "user.rust-tools"
require "user.vimspector"
require "user.neovide"

View file

@ -102,5 +102,6 @@ keymap("n", "<leader>di", "<Plug>VimspectorBalloonEval", opts)
--keymap("n", "<F17>", "<cmd>lua require'dap'.terminate()<cr>", opts)
keymap("n", "<leader>bf", vim.lsp.buf.format, opts) -- Shift+F5
keymap("v", "<leader>bf", vim.lsp.buf.format, opts) -- Shift+F5
keymap("n", "<leader>lf", vim.lsp.buf.format, opts) -- Shift+F5
keymap("v", "<leader>lf", "<esc><cmd>'<,'>lua vim.lsp.buf.format()<cr>", opts) -- Shift+F5
keymap("x", "<leader>lf", "<esc><cmd>'<,'>lua vim.lsp.buf.format()<cr>", opts) -- Shift+F5

View file

@ -8,6 +8,7 @@ local servers = {
"jsonls",
"yamlls",
"rust_analyzer",
"gopls"
}
local settings = {