Thing i'm good now

This commit is contained in:
Jimmy Bates 2024-04-21 13:08:44 -07:00
parent b94345a27a
commit 16296b8620
6 changed files with 6 additions and 14 deletions

View file

@ -5,8 +5,7 @@ return {
local map = vim.api.nvim_set_keymap
map('i', '<C-o>', 'copilot#Accept("<CR>")', { expr = true, silent = true })
end,
config = function()
vim.g.copilot_no_tab_map = true
vim.g.copilot_assume_mapped = true
vim.g.copilot_tab_fallback = ''

View file

@ -147,13 +147,7 @@ return { -- LSP Configuration & Plugins
clangd = {
cmd = {
'clangd',
'--query-driver=/bin/clang-tidy,/usr/bin/**/clang-*,/bin/clang,/bin/clang++,/usr/bin/gcc,/usr/bin/g++',
'--clang-tidy',
'--clang-tidy-checks=*',
'--style=file ~/.config/nvim/clang-format',
'--background-index',
},
capabilities = capabilities,
},
-- gopls = {},
pyright = {},

View file

@ -4,7 +4,7 @@ return {
config = true,
init = function()
local opts = { buffer = 0 }
vim.keymap.set('t', '<esc>', [[<C-\><C-n>]], opts)
--vim.keymap.set('t', '<esc>', [[<C-\><C-n>]], opts)
vim.keymap.set('t', 'jk', [[<C-\><C-n>]], opts)
vim.keymap.set('t', '<C-h>', [[<Cmd>wincmd h<CR>]], opts)
vim.keymap.set('t', '<C-j>', [[<Cmd>wincmd j<CR>]], opts)

View file

@ -7,7 +7,6 @@ return {
local lint = require 'lint'
lint.linters_by_ft = {
python = { 'mypy', 'ruff' },
cmake = { 'cmakelint' },
cpp = { 'cppcheck' },
c = { 'cppcheck' },
javascript = { 'eslint' },