You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
16:31:09[ERROR] Formatter 'stylua' error: error: could not format from stdin: failed to format from stdin: error parsing: error occurred while creating ast: unexpected token `:`. (starting from line 4, character 11 and ending on line 4, character 12)
additional information: expected '}'
16:31:12[ERROR] Formatter 'stylua' error: error: could not format from stdin: failed to format from stdin: error parsing: error occurred while creating ast: unexpected token `:`. (starting from line 4, character 11 and ending on line 4, character 12)
additional information: expected '}'
16:31:21[ERROR] Formatter 'stylua' error: error: could not format from stdin: failed to format from stdin: error parsing: error occurred while creating ast: unexpected token `=`. (starting from line 4, character 12 and ending on line 4, character 13)
additional information: expected '}'
Describe the bug
clang-format doesnt use rules from .clang-format
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
create a .clang-format file with some rules other than default
create a file from the rules language
format
Expected Behavior
clang-format uses the rules from the dotfile
Minimal example file
No response
Minimal init.lua
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
{
"stevearc/conform.nvim",
config=function()
require("conform").setup({
log_level=vim.log.levels.DEBUG,
-- add your config here
})
end,
},
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
Additional context
No response
The text was updated successfully, but these errors were encountered:
Neovim version (nvim -v)
nvim v0.9.5
Operating system/version
EndeavourOS
Add the debug logs
log_level = vim.log.levels.DEBUG
and pasted the log contents below.Log file
Log file: /home/kavci034/.local/state/nvim/conform.log
additional information: expected '}'
Describe the bug
clang-format doesnt use rules from .clang-format
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
Expected Behavior
clang-format uses the rules from the dotfile
Minimal example file
No response
Minimal init.lua
Additional context
No response
The text was updated successfully, but these errors were encountered: