Change shiftwidth to 4, fix indentation in lua files. Disable TS in help pages (0.8 bug)
This commit is contained in:
parent
f848fabc23
commit
4cba0df0be
1
init.lua
1
init.lua
|
@ -12,6 +12,7 @@ vim.opt.updatetime=500
|
|||
vim.opt.mouse="nv"
|
||||
vim.opt.termguicolors=true
|
||||
|
||||
vim.opt.shiftwidth=4
|
||||
vim.opt.number=true
|
||||
vim.opt.relativenumber=true
|
||||
vim.opt.listchars = { trail = '.', tab = '>_' }
|
||||
|
|
|
@ -39,7 +39,7 @@ local lsp_flags = {
|
|||
debounce_text_changes = 150,
|
||||
}
|
||||
|
||||
-- Setup nvim-cmp.
|
||||
-- Setup nvim-cmp.
|
||||
local cmp = require'cmp'
|
||||
|
||||
cmp.setup({
|
||||
|
|
|
@ -13,6 +13,7 @@ require'nvim-treesitter.configs'.setup {
|
|||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
disable = {'help'},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -53,6 +53,7 @@ require('packer').startup(function(use)
|
|||
}
|
||||
use {
|
||||
'https://github.com/lewis6991/gitsigns.nvim.git',
|
||||
tag = 'release',
|
||||
config = function ()
|
||||
require 'config_plugins.config_gitsigns'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue