fixed pyright issues
This commit is contained in:
parent
fd2bfea80a
commit
eb3a539b05
4
init.lua
4
init.lua
|
@ -102,7 +102,7 @@ vim.g.have_nerd_font = false
|
||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
-- You can also add relative line numbers, to help with jumping.
|
-- You can also add relative line numbers, to help with jumping.
|
||||||
-- Experiment for yourself to see if you like it!
|
-- Experiment for yourself to see if you like it!
|
||||||
-- vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
|
|
||||||
-- Enable mouse mode, can be useful for resizing splits for example!
|
-- Enable mouse mode, can be useful for resizing splits for example!
|
||||||
vim.opt.mouse = 'a'
|
vim.opt.mouse = 'a'
|
||||||
|
@ -661,6 +661,7 @@ require('lazy').setup({
|
||||||
clangd = {
|
clangd = {
|
||||||
cmd = {
|
cmd = {
|
||||||
'clangd',
|
'clangd',
|
||||||
|
'--compile-commands-dir=build',
|
||||||
'--background-index', -- build a background index for faster navigation
|
'--background-index', -- build a background index for faster navigation
|
||||||
'--clang-tidy', -- run clang-tidy for linting (if you have clang-tidy installed)
|
'--clang-tidy', -- run clang-tidy for linting (if you have clang-tidy installed)
|
||||||
'--completion-style=detailed', -- more detailed auto-completion suggestions
|
'--completion-style=detailed', -- more detailed auto-completion suggestions
|
||||||
|
@ -1047,6 +1048,7 @@ require('lazy').setup({
|
||||||
vim.keymap.set('n', '<leader>e', ':Neotree toggle<CR>', { desc = 'Toggle Neo-tree File Explorer' })
|
vim.keymap.set('n', '<leader>e', ':Neotree toggle<CR>', { desc = 'Toggle Neo-tree File Explorer' })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{},
|
||||||
}, {
|
}, {
|
||||||
ui = {
|
ui = {
|
||||||
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
||||||
|
|
Loading…
Reference in New Issue