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

@ -146,7 +146,7 @@ vim.opt.termguicolors = true
-- See `:help 'list'`
-- and `:help 'listchars'`
vim.opt.list = true
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' }
-- vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
-- Preview substitutions live, as you type!
vim.opt.inccommand = 'split'
@ -567,8 +567,8 @@ require('lazy').setup({
require 'custom'
vim.api.nvim_create_autocmd('VimEnter', {
--[[ vim.api.nvim_create_autocmd('VimEnter', {
callback = function()
vim.cmd 'Trouble'
end,
})
}) ]]

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' },

View File

@ -5,7 +5,7 @@ python3 -m venv .venv
.venv/bin/pip install debugpy
# Install dependencies
PKGS=("cppcheck" "clang" "cmake" "npm")
PKGS=("cppcheck" "clang" "cmake" "npm", "eslint")
# Get distro
distro=$(cat /etc/os-release | grep PRETTY_NAME= | awk '{print $1}' | cut -d \" -f 2)