linux
This commit is contained in:
+1
-33
@@ -20,7 +20,7 @@ require("lazy").setup({
|
||||
{ "ibhagwan/fzf-lua", dependencies = { "nvim-tree/nvim-web-devicons" } },
|
||||
{ "saghen/blink.cmp", version = "v1.*", opts = {} },
|
||||
{
|
||||
dir = "/Users/andrew/personal/Projects/Lua/polydev/",
|
||||
dir = "/home/andrew/personal/Projects/Lua/polydev/",
|
||||
opts = {
|
||||
terminal = {
|
||||
mode = "split",
|
||||
@@ -38,38 +38,6 @@ require("lazy").setup({
|
||||
})
|
||||
end
|
||||
},
|
||||
-- {
|
||||
-- "mfussenegger/nvim-lint",
|
||||
-- event = {
|
||||
-- "BufReadPre",
|
||||
-- "BufNewFile",
|
||||
-- },
|
||||
-- config = function()
|
||||
-- local lint = require("lint")
|
||||
--
|
||||
-- lint.linters_by_ft = {
|
||||
-- c = { "clangtidy" },
|
||||
-- }
|
||||
--
|
||||
-- local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
||||
--
|
||||
-- vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {
|
||||
-- group = lint_augroup,
|
||||
-- callback = function()
|
||||
-- lint.try_lint()
|
||||
-- end,
|
||||
-- })
|
||||
--
|
||||
-- vim.keymap.set("n", "<leader>l", function()
|
||||
-- lint.try_lint()
|
||||
-- end, { desc = "Trigger linting for current file" })
|
||||
-- -- Customizing the linter arguments
|
||||
-- local clangtidy = lint.linters.clangtidy
|
||||
-- clangtidy.args = {
|
||||
-- "-p", "build", -- Tell clang-tidy to look in the build folder for compile_commands.json
|
||||
-- }
|
||||
-- end,
|
||||
-- }
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user