Wrote plugin to quickly format functions into multi-line params, added orgmode plugin, moved completion plugin into its own file, commented out lspconfig/mason dependencies and utilized nvim 0.12 builtin commands in plugin/lsp.lua to handle lsp. Added treesitter context for text blocks within functions, changed default color to tokyonight, added a few keybinds.
This commit is contained in:
parent
db83c74814
commit
ea35497903
11 changed files with 520 additions and 251 deletions
|
|
@ -2,9 +2,23 @@ return {
|
|||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||
},
|
||||
config = function()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
configs.setup({
|
||||
textobjects = {
|
||||
select = {
|
||||
enable = true,
|
||||
lookahead = true,
|
||||
keymaps = {
|
||||
["af"] = "@function.outer",
|
||||
["if"] = "@function.inner",
|
||||
},
|
||||
},
|
||||
},
|
||||
-- enable syntax highlighting
|
||||
highlight = {
|
||||
enable = true,
|
||||
|
|
@ -16,6 +30,7 @@ return {
|
|||
-- ensure these language parsers are installed
|
||||
ensure_installed = {
|
||||
"json",
|
||||
"python",
|
||||
"javascript",
|
||||
"query",
|
||||
"typescript",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue