gabrielgio.lua @ ece1b9ec93416683717f4308f62ac154f3e9d045

 1diff --git a/lua/gabrielgio/formatter.lua b/lua/gabrielgio/formatter.lua
 2index 53e95f53c002c1a88b66f735256aa0568d3bdd9c..5c13d89f5c53b38926aaf34d303ed39447c8b9f9 100644
 3--- a/lua/gabrielgio/formatter.lua
 4+++ b/lua/gabrielgio/formatter.lua
 5@@ -2,10 +2,6 @@ local formatter = require("formatter")
 6 local go = require("formatter.filetypes.go")
 7 local util = require("formatter.util")
 8 
 9-local function yamlfmt()
10-	return { exe = "yamlfmt" }
11-end
12-
13 local function terraformfmt()
14 	return {
15 		exe = "terraform",
16@@ -27,7 +23,7 @@ 		css = { require("formatter.filetypes.css").cssbeautify },
17 		scss = { require("formatter.filetypes.css").cssbeautify },
18 		go = { go.gofumpt, go.goimports },
19 		terraform = { terraformfmt },
20-		yaml = { yamlfmt },
21+		yaml = { require("formatter.filetypes.yaml").yamlfmt },
22 	},
23 	["*"] = {
24 		require("formatter.filetypes.any").remove_trailing_whitespace,
25diff --git a/lua/gabrielgio/lsp.lua b/lua/gabrielgio/lsp.lua
26index 6857b5dfe8bdc208efd31f8c298815bcadff7beb..5eb3908c707337fbbfcfce25f7c9a9e4c59d50d8 100644
27--- a/lua/gabrielgio/lsp.lua
28+++ b/lua/gabrielgio/lsp.lua
29@@ -44,16 +44,6 @@ 	cmd_env = { GOFLAGS = "-tags=unit,integration,e2e" },
30 	on_attach = on_attach,
31 })
32 
33-lsp_config.yamlls.setup({
34-	settings = {
35-		yaml = {
36-			schemas = {
37-				["https://raw.githubusercontent.com/OAI/OpenAPI-Specification/refs/heads/main/schemas/v3.0/schema.yaml"] = "/api-specs/v2/*",
38-			},
39-		},
40-	},
41-})
42-
43 lsp_config.lua_ls.setup({
44 	on_attach = on_attach,
45 	settings = {
46diff --git a/lua/gabrielgio/settable.lua b/lua/gabrielgio/settable.lua
47index fad3f80836750fb4c7c8d9e804d3bbf1f8cbc77e..76aa8d67bf5dd24b8e0c4c202b9c224374316ecc 100644
48--- a/lua/gabrielgio/settable.lua
49+++ b/lua/gabrielgio/settable.lua
50@@ -31,6 +31,7 @@ vim.opt.completeopt = { "menu", "menuone", "noselect" }
51 vim.opt.clipboard = (vim.opt.clipboard + "unnamedplus")
52 vim.opt.spelllang = { "en", "pt_br", "de" }
53 vim.opt.spelloptions = "camel"
54+vim.opt.spell = true
55 vim.opt.list = true
56 vim.opt.listchars = {
57 	eol = "\194\172",
58diff --git a/lua/gabrielgio/term.lua b/lua/gabrielgio/term.lua
59index d92fc0ca449ceebc9bfe60146d15e3fc74b3fff9..0bd56752463f5bee064f85abac9b8cf60ff33f1e 100644
60--- a/lua/gabrielgio/term.lua
61+++ b/lua/gabrielgio/term.lua
62@@ -10,7 +10,8 @@ local lastCommand = ""
63 
64 key.nnoremap("<C-n>", ":Neogit kind=replace<cr>")
65 key.nnoremap("<C-p>", ":ToggleTerm size=40 direction=float<cr>")
66-key.nnoremap("<C-l>", ":ToggleTerm size=200 direction=vertical<cr>")
67+key.nnoremap("<C-l>", ":ToggleTerm size=100 direction=vertical<cr>")
68+key.vnoremap("<C-y>", ":ToggleTermSendVisualSelection<cr>")
69 key.nnoremap("<C-y>", function()
70 	local user_input = vim.fn.input("$ ")
71