mirror of
https://codeberg.org/frosty/init.lua.git
synced 2024-09-19 03:26:34 -04:00
another regular minor update
This commit is contained in:
parent
22c59a447f
commit
a6a5e9e046
|
@ -5,3 +5,4 @@ vim.o.termguicolors = true
|
|||
vim.o.showmode = false
|
||||
vim.o.clipboard = 'unnamedplus'
|
||||
vim.o.swapfile = false
|
||||
vim.g.netrw_banner = false
|
||||
|
|
|
@ -27,14 +27,14 @@ return {
|
|||
lspconfig['rust_analyzer'].setup({
|
||||
capabilities = capabilities
|
||||
})
|
||||
lspconfig['gopls'].setup({
|
||||
capabilities = capabilities
|
||||
})
|
||||
lspconfig['bashls'].setup({
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
filetypes = { 'sh', 'zsh' }
|
||||
}
|
||||
})
|
||||
lspconfig['gopls'].setup({
|
||||
capabilities = capabilities
|
||||
})
|
||||
end
|
||||
}
|
||||
|
|
|
@ -2,9 +2,12 @@ return {
|
|||
'nvim-treesitter/nvim-treesitter',
|
||||
build = ':TSUpdate',
|
||||
opts = {
|
||||
ensure_installed = { 'c', 'lua', 'vim', 'yaml', 'toml', 'markdown', 'vimdoc', 'bash', 'html', 'python', 'haskell', 'rust', 'go' },
|
||||
ensure_installed = { 'lua', 'bash', 'go', 'rust', 'python', 'haskell', 'vim', 'vimdoc', 'yaml', 'toml', 'markdown', 'html' },
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true }
|
||||
}
|
||||
},
|
||||
config = function()
|
||||
vim.cmd('TSEnable highlight')
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue