themes
This commit is contained in:
parent
a74c09f951
commit
3ae22ef849
3
init.lua
3
init.lua
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue