This commit is contained in:
Lucas Barbieri 2023-08-13 20:33:25 -03:00
parent 28ee5ca940
commit 83f3b625e0
3 changed files with 3 additions and 2 deletions

View File

@ -327,6 +327,7 @@ local servers = {
-- pyright = {}, -- pyright = {},
-- rust_analyzer = {}, -- rust_analyzer = {},
-- tsserver = {}, -- tsserver = {},
hls = {},
html = { provideFormatter = false }, html = { provideFormatter = false },
lua_ls = { lua_ls = {

View File

@ -6,7 +6,8 @@ return {
require("null-ls").builtins.formatting.black.with({ require("null-ls").builtins.formatting.black.with({
extra_args = { "--line-length=80" } extra_args = { "--line-length=80" }
}), }),
require("null-ls").builtins.formatting.prettierd require("null-ls").builtins.formatting.prettierd,
require("null-ls").builtins.formatting.fourmolu
} }
} }
end end

View File

@ -1,7 +1,6 @@
local keymap = vim.keymap local keymap = vim.keymap
keymap.set("n", "<leader>pv", vim.cmd.Ex, { desc = "Start netrw" }) keymap.set("n", "<leader>pv", vim.cmd.Ex, { desc = "Start netrw" })
keymap.set("n", "sf", vim.cmd.Ex, { desc = "Start netrw" })
keymap.set("v", "J", ":m '>+1<CR>gv=gv") keymap.set("v", "J", ":m '>+1<CR>gv=gv")
keymap.set("v", "K", ":m '<-2<CR>gv=gv") keymap.set("v", "K", ":m '<-2<CR>gv=gv")