mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 17:39:56 -06:00
more nvim config updates
This commit is contained in:
13
nvim/.config/nvim/fnl/dotfiles/plugin/colorizer.fnl
Normal file
13
nvim/.config/nvim/fnl/dotfiles/plugin/colorizer.fnl
Normal file
@@ -0,0 +1,13 @@
|
||||
(module dotfiles.plugin.colorizer
|
||||
{autoload {colorizer colorizer}})
|
||||
|
||||
(colorizer.setup {"*" {}}
|
||||
{:RGB true ; #RGB hex codes, like #F00
|
||||
:RRGGBB true ; #RRGGBB hex codes, like #00FF00
|
||||
:names true ; "Name" codes like Blue
|
||||
:RRGGBBAA true ; #RRGGBBAA hex codes
|
||||
:rgb_fn true ; CSS rgb() and rgba() functions
|
||||
:hsl_fn true ; CSS hsl() and hsla() functions
|
||||
:css true ; Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
||||
:css_fn true ; Enable all CSS *functions*: rgb_fn, hsl_fn
|
||||
})
|
||||
@@ -43,7 +43,7 @@
|
||||
:gr "lua vim.lsp.buf.references()"
|
||||
:K "lua vim.lsp.buf.hover()"
|
||||
"[g" "lua vim.lsp.diagnostic.goto_prev()"
|
||||
"g" "lua vim.lsp.diagnostic.goto_prev()"
|
||||
"]g" "lua vim.lsp.diagnostic.goto_prev()"
|
||||
:<leader>ca "lua vim.lsp.buf.codeaction()"
|
||||
:<leader>sld "lua vim.lsp.diagnostic.show_line_diagnostics()"
|
||||
:<leader>rn "lua vim.lsp.buf.rename()"
|
||||
|
||||
@@ -3,4 +3,19 @@
|
||||
|
||||
(treesitter.setup
|
||||
{:highlight {:enable true
|
||||
:additional_vim_regex_highlighting false}})
|
||||
:additional_vim_regex_highlighting false}
|
||||
|
||||
:rainbow {:enable true
|
||||
:extended_mode true ; Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean
|
||||
:max_file_lines 1000 ; Do not enable for files with more than 1000 lines, int
|
||||
:colors [
|
||||
:#dc322f ; red
|
||||
:#b58900 ; yellow
|
||||
:#d33682 ; magenta
|
||||
:#859900 ; green
|
||||
:#2aa198 ; cyan
|
||||
:#268bd2 ; blue
|
||||
:#6c71c4 ; violet / brmagenta
|
||||
] ; table of hex strings
|
||||
}
|
||||
})
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
:kabouzeid/nvim-lspinstall {} ; NeoVim lsp server installs
|
||||
:airblade/vim-gitgutter {} ; Git
|
||||
:kovisoft/paredit {}
|
||||
:luochen1990/rainbow {}
|
||||
; :luochen1990/rainbow {}
|
||||
:jiangmiao/auto-pairs {} ; backets, parens, and quotes in pairs
|
||||
:nvim-treesitter/nvim-treesitter {:run ":TSUpdate" :mod :treesitter}
|
||||
:hashivim/vim-terraform {} ; Terraform
|
||||
@@ -55,7 +55,8 @@
|
||||
:tpope/vim-vinegar {}
|
||||
:radenling/vim-dispatch-neovim {} ; Clojure
|
||||
:nvim-telescope/telescope.nvim {:requires [[:nvim-lua/popup.nvim] [:nvim-lua/plenary.nvim]] :mod :telescope}
|
||||
|
||||
:p00f/nvim-ts-rainbow {}
|
||||
:norcalli/nvim-colorizer.lua {:mode :colorizer}
|
||||
}
|
||||
|
||||
; :tpope/vim-fireplace {} ; Clojure
|
||||
|
||||
Reference in New Issue
Block a user