Skip to content

Commit 1d45ed4

Browse files
committed
[init.lua] Disable pyright and python_recommended_style = 0 (respects tabstops, etc)
1 parent 481ad45 commit 1d45ed4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

init.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -997,9 +997,9 @@ require('colorizer').setup()
997997

998998
local lspconfig = require 'lspconfig'
999999

1000-
lspconfig['pyright'].setup {
1001-
trace = 'verbose',
1002-
}
1000+
-- lspconfig['pyright'].setup {
1001+
-- trace = 'verbose',
1002+
-- }
10031003

10041004
require('lspconfig').texlab.setup {}
10051005

@@ -1054,6 +1054,8 @@ vim.opt.tabstop = 4
10541054
vim.opt.expandtab = true
10551055
vim.opt.shiftwidth = 4
10561056

1057+
vim.g.python_recommended_style = 0
1058+
10571059
vim.keymap.set('n', '<leader>bd', ':bd<CR>')
10581060
vim.keymap.set('n', '<leader>bD', ':bd!<CR>')
10591061
vim.keymap.set('n', '<leader>bc', ':close<CR>')

0 commit comments

Comments
 (0)