Compare commits

..

2 Commits

Author SHA1 Message Date
f7120df53b disable autoformatting of text and comments in vim 2024-12-20 11:35:56 +01:00
add0be5d00 add default pyrightconfig.json 2024-12-20 11:35:34 +01:00
3 changed files with 7 additions and 0 deletions

View File

@ -36,3 +36,9 @@ opt.showbreak = '++'
opt.breakindent = true opt.breakindent = true
opt.linebreak = true opt.linebreak = true
opt.termguicolors = true opt.termguicolors = true
-- Remove autoformatting of
-- 't' text using textwidth
-- 'c' comments using textwidth
opt.formatoptions:remove('t')
opt.formatoptions:remove('c')

View File

@ -91,6 +91,7 @@ return {
analysis = { analysis = {
useLibraryCodeForTypes = true, useLibraryCodeForTypes = true,
typeCheckingMode = "basic", typeCheckingMode = "basic",
configPath = vim.fn.expand('./pyrightconfig.json')
} }
} }
} }