Commit Graph

12 Commits

Author SHA1 Message Date
FollieHiyuki
0f2574a887
neovim + system
neovim:
    - highlight:
        + adjust treesitter groups for nord (TSField as fg doesn't look
          good in yaml files). Also add highlight for TSNote, TSWarning,
          TSDanger (notes such as 'TODO', 'FIXME', ...)
        + rewrite the way theme is set (now 'g:colors_name' is used
          properly instead of a hacky variable 'g:global_theme'). Also
          make setting theme more modular
        + add 'highlight_languages' groups for other syntaxes (html,
          markdown) that are not covered with treesitter
    - mappings: properly move ':Telescope lsp_range_code_action' to
      visual block + avoid mappings for <C-x> and <C-a> (number
      decrement/increment)
    - null-ls.nvim: add basic config, load before nvim-lspconfig
    - plugins: add nvim-treesitter/playground
    - feline.nvim: lazy loaded on VimEnter
    - nvim-lightbulb: only refresh on CursorHold (previously stopped
      working after entering INSERT mode)
system:
    - tlp: update config for v1.4.0
setup: add ani-cli to scripts.sh
2021-10-18 00:53:25 +07:00
FollieHiyuki
61b5cb5b70
neovim: revamp
- packer: load vim-eft, nvim-spectre, nvim-dap, persistence.nvim on key
  press instead of on Vim event
- keybindings: redefine multiple, move keybindings for plugins loaded on
  key press to their configs
- plugins: add winshift.nvim, better-escape.nvim, window-picker.nvim,
  neogen, spellsitter.nvim, nvim-lightbulb, close-buffers.nvim
- init.lua: move autocmds back inside async loop (filetype events already
  got handled by filetype.nvim)
- zen-mode.nvim + twilight.nvim: move from 'tools' to 'editor' group
- lsp: change signs characters for unification
- dap: initial config, keybindings
- feline.nvim: reorder elements, add nvim-lightbulb signs
- chore: unify the way setup() is called, and format stuff
2021-10-17 21:48:14 +07:00
FollieHiyuki
68b4e1d59f
neovim: move autocmd out of async loop
setfiletype doesn't trigger when autocmd is lazy loaded
2021-10-17 21:48:13 +07:00
FollieHiyuki
dfcfbd004a
neovim: configure packer.nvim + add iswap.nvim 2021-10-17 21:48:12 +07:00
FollieHiyuki
a747daeacd
neovim: asynchronous loading in init.lua
Also fix luasnip mapping for nvim-cmp
2021-10-17 21:48:11 +07:00
FollieHiyuki
3cefe864f4
neovim: big refractor
- nvim-compe -> nvim-cmp
- combine multple modules config into category files
- add some more plugins
2021-10-17 21:48:10 +07:00
FollieHiyuki
7deb0d68f1
neovim: add more plugins 2021-10-17 21:48:10 +07:00
FollieHiyuki
bc7bdb2bdc
neovim: almost done 2021-10-17 21:48:03 +07:00
FollieHiyuki
e03162b21a
neovim: add more config 2021-10-17 21:48:03 +07:00
FollieHiyuki
0098bc351f
neovim: gitsigns, basic mappings and nord colors
Also update nushell startup hook
2021-10-17 21:48:02 +07:00
FollieHiyuki
474d27ec30
neovim: add galaxyline, ditch nord theme 2021-10-17 21:48:02 +07:00
FollieHiyuki
64cc5e1f00
neovim: basic new config in lua 2021-10-17 21:48:02 +07:00