diff --git a/init.lua b/init.lua index 5cc7fe16..d0cac94c 100644 --- a/init.lua +++ b/init.lua @@ -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, -}) +}) ]] diff --git a/lua/custom/plugins/copilot.lua b/lua/custom/plugins/copilot.lua index 5ab2812e..61e38ee6 100644 --- a/lua/custom/plugins/copilot.lua +++ b/lua/custom/plugins/copilot.lua @@ -5,8 +5,7 @@ return { local map = vim.api.nvim_set_keymap map('i', '', 'copilot#Accept("")', { 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 = '' diff --git a/lua/custom/plugins/lsp.lua b/lua/custom/plugins/lsp.lua index fd18d5f6..d2d6c62f 100644 --- a/lua/custom/plugins/lsp.lua +++ b/lua/custom/plugins/lsp.lua @@ -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 = {}, diff --git a/lua/custom/plugins/toggleterm.lua b/lua/custom/plugins/toggleterm.lua index a1ba751f..57b43c09 100644 --- a/lua/custom/plugins/toggleterm.lua +++ b/lua/custom/plugins/toggleterm.lua @@ -4,7 +4,7 @@ return { config = true, init = function() local opts = { buffer = 0 } - vim.keymap.set('t', '', [[]], opts) + --vim.keymap.set('t', '', [[]], opts) vim.keymap.set('t', 'jk', [[]], opts) vim.keymap.set('t', '', [[wincmd h]], opts) vim.keymap.set('t', '', [[wincmd j]], opts) diff --git a/lua/kickstart/plugins/lint.lua b/lua/kickstart/plugins/lint.lua index b55ece4d..c2552a7d 100644 --- a/lua/kickstart/plugins/lint.lua +++ b/lua/kickstart/plugins/lint.lua @@ -7,7 +7,6 @@ return { local lint = require 'lint' lint.linters_by_ft = { python = { 'mypy', 'ruff' }, - cmake = { 'cmakelint' }, cpp = { 'cppcheck' }, c = { 'cppcheck' }, javascript = { 'eslint' }, diff --git a/setup.sh b/setup.sh index ab842142..e3c3b3e4 100755 --- a/setup.sh +++ b/setup.sh @@ -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)