Thing i'm good now
This commit is contained in:
parent
b94345a27a
commit
16296b8620
6
init.lua
6
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,
|
||||
})
|
||||
}) ]]
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -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 = {},
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -7,7 +7,6 @@ return {
|
|||
local lint = require 'lint'
|
||||
lint.linters_by_ft = {
|
||||
python = { 'mypy', 'ruff' },
|
||||
cmake = { 'cmakelint' },
|
||||
cpp = { 'cppcheck' },
|
||||
c = { 'cppcheck' },
|
||||
javascript = { 'eslint' },
|
||||
|
|
Loading…
Reference in New Issue