fix: update to neovim 0.7 and format
This commit is contained in:
@@ -15,7 +15,6 @@ require('pluginconfig/fzf-lua')
|
||||
require('pluginconfig/nvim-tree') -- This plugin must be required somewhere before colorscheme. Placing it after will break navigation keymappings
|
||||
require('pluginconfig/nvim-treesitter')
|
||||
require('pluginconfig/rnvimr')
|
||||
require('pluginconfig/symbols-outline')
|
||||
require('pluginconfig/telescope')
|
||||
require('pluginconfig/toggleterm')
|
||||
require('pluginconfig/vim-matchup')
|
||||
|
||||
@@ -1,30 +1,29 @@
|
||||
local treesitter = {
|
||||
ensure_installed = "all",
|
||||
highlight = {enabled = true},
|
||||
playground = {enabled = true},
|
||||
rainbow = {enabled = false},
|
||||
highlight = { enabled = true },
|
||||
playground = { enabled = true },
|
||||
rainbow = { enabled = false },
|
||||
}
|
||||
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
require 'nvim-treesitter.configs'.setup {
|
||||
ensure_installed = treesitter.ensure_installed, -- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
||||
ignore_install = {"haskell", "markdown"},
|
||||
ignore_install = { "haskell", "markdown", "swift" },
|
||||
matchup = {
|
||||
enable = true, -- mandatory, false will disable the whole extension
|
||||
enable = true, -- mandatory, false will disable the whole extension
|
||||
-- disable = { "c", "ruby" }, -- optional, list of language that will be disabled
|
||||
},
|
||||
highlight = {
|
||||
enable = treesitter.highlight.enabled, -- false will disable the whole extension
|
||||
enable = true, -- false will disable the whole extension
|
||||
disable = { "markdown" },
|
||||
},
|
||||
context_commentstring = {
|
||||
enable = true,
|
||||
config = {
|
||||
css = '// %s'
|
||||
css = '// %s'
|
||||
}
|
||||
},
|
||||
},
|
||||
-- indent = {enable = true, disable = {"python", "html", "javascript"}},
|
||||
-- TODO seems to be broken
|
||||
indent = {enable = {"javascriptreact"}},
|
||||
autotag = {enable = true},
|
||||
indent = { enable = { "javascriptreact" } },
|
||||
autotag = { enable = true },
|
||||
}
|
||||
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
vim.g.symbols_outline = {
|
||||
highlight_hovered_item = true,
|
||||
show_guides = true,
|
||||
auto_preview = true,
|
||||
position = 'right',
|
||||
keymaps = {
|
||||
close = "<Esc>",
|
||||
goto_location = "<Cr>",
|
||||
focus_location = "o",
|
||||
hover_symbol = "<C-space>",
|
||||
rename_symbol = "r",
|
||||
code_actions = "a",
|
||||
},
|
||||
lsp_blacklist = {},
|
||||
}
|
||||
Reference in New Issue
Block a user