mirror of https://github.com/gabehf/nvim-conf.git
parent
63046022c9
commit
8e6e367f7a
@ -1,16 +1,16 @@
|
|||||||
-- This file needs to have same structure as nvconfig.lua
|
-- This file needs to have same structure as nvconfig.lua
|
||||||
-- https://github.com/NvChad/NvChad/blob/v2.5/lua/nvconfig.lua
|
-- https://github.com/NvChad/NvChad/blob/v2.5/lua/nvconfig.lua
|
||||||
|
|
||||||
---@type ChadrcConfig
|
---@type ChadrcConfig
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.ui = {
|
M.ui = {
|
||||||
theme = "onedark",
|
theme = "yoru",
|
||||||
|
|
||||||
-- hl_override = {
|
hl_override = {
|
||||||
-- Comment = { italic = true },
|
Comment = { italic = true },
|
||||||
-- ["@comment"] = { italic = true },
|
["@comment"] = { italic = true },
|
||||||
-- },
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|||||||
@ -1,15 +1,15 @@
|
|||||||
local options = {
|
local options = {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
-- css = { "prettier" },
|
css = { "prettier" },
|
||||||
-- html = { "prettier" },
|
html = { "prettier" },
|
||||||
},
|
},
|
||||||
|
|
||||||
-- format_on_save = {
|
format_on_save = {
|
||||||
-- -- These options will be passed to conform.format()
|
-- These options will be passed to conform.format()
|
||||||
-- timeout_ms = 500,
|
timeout_ms = 500,
|
||||||
-- lsp_fallback = true,
|
lsp_fallback = true,
|
||||||
-- },
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
require("conform").setup(options)
|
require("conform").setup(options)
|
||||||
|
|||||||
@ -0,0 +1 @@
|
|||||||
|
require("go").setup()
|
||||||
Loading…
Reference in new issue