transparent
This commit is contained in:
parent
d2bdce1a9b
commit
fb0af05bc3
2 changed files with 55 additions and 1 deletions
2
init.lua
2
init.lua
|
|
@ -767,7 +767,7 @@ require('lazy').setup({
|
|||
-- Disable "format_on_save lsp_fallback" for languages that don't
|
||||
-- have a well standardized coding style. You can add additional
|
||||
-- languages here or re-enable it for the disabled ones.
|
||||
-- local disable_filetypes = { c = true, cpp = true }
|
||||
local disable_filetypes = { c = true, cpp = true }
|
||||
local lsp_format_opt
|
||||
if disable_filetypes[vim.bo[bufnr].filetype] then
|
||||
lsp_format_opt = 'never'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue