Compare commits

..

No commits in common. "6fa3768d6d5fe35430f348fee1aeae0f02328546" and "751dceda4aa728ec4523ae1a8e07778f5df4b373" have entirely different histories.

3 changed files with 4 additions and 10 deletions

View file

@ -3,7 +3,7 @@ require('nvim-format-buffer').setup({
format_rules = {
{ pattern = { '*.c', '*.h' }, command = 'clang-format' },
{
pattern = { '*.js', '*.mjs', '*.ts', '*.mts', '*.cjs', '*.tsx', '*.vue', '*.css' },
pattern = { '*.js', '*.mjs', '*.ts', '*.mts', '*.tsx', '*.vue', '*.css' },
command = function()
return 'prettier --stdin-filepath ' .. vim.api.nvim_buf_get_name(0)
end,

View file

@ -3,8 +3,7 @@ local cmd = {
bin_name,
"--background-index",
"--suggest-missing-includes",
"--enable-config",
"--query-driver=/usr/lib64/ccache/*,/usr/bin/*",
"--enable-config"
}
local config = vim.fs.find(".clangd", {

View file

@ -18,15 +18,10 @@ if next(config) then
settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy",
enable = true
},
diagnostics = {
enable = false,
command = "clippy"
},
check = {
command = "check",
extraArgs = {"--all-features"}
command = "check"
},
},
},