Update
This commit is contained in:
6
config/nvim/ftplugin/gdscript.lua
Normal file
6
config/nvim/ftplugin/gdscript.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
vim.treesitter.start()
|
||||
|
||||
vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
|
||||
vim.wo[0][0].foldmethod = 'expr'
|
||||
|
||||
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
|
||||
6
config/nvim/ftplugin/ruby.lua
Normal file
6
config/nvim/ftplugin/ruby.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
vim.treesitter.start()
|
||||
|
||||
vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
|
||||
vim.wo[0][0].foldmethod = 'expr'
|
||||
|
||||
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
|
||||
@@ -162,36 +162,6 @@ vim.cmd("colorscheme gruvbox")
|
||||
|
||||
require('gitsigns').setup()
|
||||
|
||||
-- tree-sitter
|
||||
|
||||
require('nvim-treesitter').setup {
|
||||
-- A list of parser names, or "all"
|
||||
-- ensure_installed = { "all" },
|
||||
|
||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||
sync_install = false,
|
||||
|
||||
-- List of parsers to ignore installing (for "all")
|
||||
-- ignore_install = { "javascript" },
|
||||
|
||||
highlight = {
|
||||
-- `false` will disable the whole extension
|
||||
enable = true,
|
||||
|
||||
-- NOTE: these are the names of the parsers and not the filetype. (for example if you want to
|
||||
-- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is
|
||||
-- the name of the parser)
|
||||
-- list of language that will be disabled
|
||||
-- disable = { "c", "rust" },
|
||||
|
||||
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
|
||||
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
|
||||
-- Using this option may slow down your editor, and you may see some duplicate highlights.
|
||||
-- Instead of true it can also be a list of languages
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
}
|
||||
|
||||
-- telescope
|
||||
require('telescope').setup{
|
||||
-- defaults = {
|
||||
@@ -273,7 +243,7 @@ end
|
||||
local servers = {
|
||||
'ansiblels',
|
||||
-- 'arduino_language_server',
|
||||
'bashls',
|
||||
-- 'bashls',
|
||||
-- 'ccls',
|
||||
'clangd',
|
||||
'erlangls',
|
||||
@@ -615,7 +585,8 @@ require("neo-tree").setup({
|
||||
},
|
||||
})
|
||||
|
||||
require('leap').set_default_keymaps()
|
||||
-- deprecated, maybe I should fix that
|
||||
-- require('leap').set_default_keymaps()
|
||||
|
||||
-- require('neotest').setup({
|
||||
-- icons = {
|
||||
|
||||
Reference in New Issue
Block a user