vim stuffzies

This commit is contained in:
Philipp Hochkamp 2023-03-08 22:35:02 +01:00
parent ff9e47e96b
commit 6c615e4ed6
3 changed files with 27 additions and 13 deletions

View file

@ -1,14 +1,8 @@
require("noice").setup({
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
},
messages = {
view = "mini"
views = {
notify = {
merge = true,
}
},
-- you can enable a preset for easier configuration
presets = {

View file

@ -0,0 +1,20 @@
require'nvim-treesitter.configs'.setup {
highlight = {
enable = true,
use_languagetree = true,
},
indent = {
enable = true,
},
autotag = {
enable = true,
},
context_commentstring = {
enable = true,
enable_autocmd = false,
},
refactor = {
highlight_definitions = { enable = true },
highlight_current_scope = { enable = false },
},
}