This commit is contained in:
Felipe Magrassi 2024-08-05 20:05:04 -03:00
parent a74c09f951
commit 3ae22ef849
2 changed files with 4 additions and 1 deletions

View File

@ -787,7 +787,7 @@ require('lazy').setup({
-- Load the colorscheme here. -- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load -- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
vim.cmd.colorscheme 'tokyonight-night' -- vim.cmd.colorscheme 'tokyonight-night'
-- You can configure highlights by doing something like: -- You can configure highlights by doing something like:
vim.cmd.hi 'Comment gui=none' vim.cmd.hi 'Comment gui=none'
@ -911,5 +911,6 @@ require('lazy').setup({
}, },
}) })
vim.cmd.colorscheme 'github_light'
-- The line beneath this is called `modeline`. See `:help modeline` -- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et -- vim: ts=2 sts=2 sw=2 et

View File

@ -46,6 +46,7 @@ lint.linters_by_ft = {
ruby = { 'ruby' }, ruby = { 'ruby' },
dockerfile = { 'hadolint' }, dockerfile = { 'hadolint' },
typescript = { 'eslint_d' }, typescript = { 'eslint_d' },
eruby = { 'erblint' },
} }
local conform = require 'conform' local conform = require 'conform'
@ -54,6 +55,7 @@ conform.formatters_by_ft = {
typescript = { 'prettierd ' }, typescript = { 'prettierd ' },
ruby = { 'rubocop' }, ruby = { 'rubocop' },
markdown = { 'markdownlint' }, markdown = { 'markdownlint' },
eruby = { 'erb_lint' },
} }
conform.format_on_save = function(bufnr) conform.format_on_save = function(bufnr)
-- Disable "format_on_save lsp_fallback" for languages that don't -- Disable "format_on_save lsp_fallback" for languages that don't