diff --git a/lua/custom/plugins/paren-hint.lua b/lua/custom/plugins/paren-hint.lua index a91b035d..de52e4da 100644 --- a/lua/custom/plugins/paren-hint.lua +++ b/lua/custom/plugins/paren-hint.lua @@ -9,7 +9,7 @@ local M = { function M.config() -- you can create a custom highlight group for the ghost text with the below command. -- change the `highlight` option to `parenhint` if you use this method. - vim.api.nvim_exec([[ highlight parenhint guifg='#495659' ]], false) + vim.api.nvim_exec([[ highlight parenhint guifg='#56633E' ]], false) require('paren-hint').setup({ -- Include the opening paren in the ghost text include_paren = true, diff --git a/lua/kickstart/plugins/autoformat.lua b/lua/kickstart/plugins/autoformat.lua index 9cf86817..19010501 100644 --- a/lua/kickstart/plugins/autoformat.lua +++ b/lua/kickstart/plugins/autoformat.lua @@ -65,6 +65,13 @@ return { return end + -- Go Templ formatting + -- If filetype is templ, then we need to use the templ LSP client to format + -- So we disable the html client formatting capabilities + if vim.bo.filetype == 'templ' and client.name == 'html' then + client.server_capabilities.documentFormattingProvider = false + end + -- Create an autocmd that will run *before* we save the buffer. -- Run the formatting command for the LSP that has just attached. vim.api.nvim_create_autocmd('BufWritePre', {