first solid config. Can still be improved
parent
cd41c0b2e4
commit
31de117293
@ -0,0 +1,4 @@
|
||||
|
||||
-- previous binding
|
||||
-- runs selected code in FSI, exit fsi with "i<cr>" after done scrolling/viewing
|
||||
vim.keymap.set('v', '<A-CR>', 'y:new<CR>:term<CR>idotnet fsi <CR><C-\\><C-n>pGA;;<CR>#quit;;<CR>exit<CR><C-\\><C-n>G')
|
@ -0,0 +1,45 @@
|
||||
# Changes made to base nvim-Kickstart
|
||||
## working LSP
|
||||
### ez
|
||||
- python
|
||||
### needs project file
|
||||
- c++ (kind of picky, single file mode doesn't work well)
|
||||
- F# (kind of picky, single file mode doesn't work well)
|
||||
- rust 🦀 (.rsx files seem to work in single file mode)
|
||||
|
||||
## Settings
|
||||
### nvim general settings
|
||||
- set indents as 4 'space' characters
|
||||
### nvim gui settings
|
||||
- neovide gui
|
||||
- added cursor trail config
|
||||
- set font to NerdFonts / Hack h16
|
||||
### Language server settings
|
||||
- added server inits for:
|
||||
- clangd
|
||||
- pyright
|
||||
- rust_analyzer
|
||||
- tsserver
|
||||
- fsautocomplete
|
||||
- jdtls
|
||||
## Plugins
|
||||
- 'RishabhRD/nvim-lsputils' added for better lsp default settings
|
||||
- 'folke/trouble.nvim' to view error messages at bottom
|
||||
- 'nvim-tree/nvim-web-devicons' for icon support in trouble
|
||||
### Misc
|
||||
- set 'treesitter :: auto_install = true. should auto install grammars
|
||||
- telescope fzf converted to use windows ripgrep
|
||||
|
||||
## Mappings
|
||||
### Normal Mode
|
||||
- 'yf' copies path to current file to register f and F
|
||||
- 'K' inserts a line break left of cursor and places cursor on first non white-space character
|
||||
- 'gh' for lsp hover docs
|
||||
- 'gH' for lsp signature docs
|
||||
### Insert Mode
|
||||
- 'JJ' easily exits insert mode (even in terminal mode)
|
||||
## FileType Scripts
|
||||
### F#
|
||||
- visual mode (selection)
|
||||
- added <alt-return> binding to run selected code in FSI, similar to visual studio
|
||||
|
@ -0,0 +1,39 @@
|
||||
# My Windows Dependencies
|
||||
|
||||
# Packages
|
||||
I believe thse are the install commands used, many sub-packages also installed automatically
|
||||
|
||||
- neovim
|
||||
- neovide.install
|
||||
- lua
|
||||
- nodejs.install
|
||||
- ripgrep
|
||||
- rust
|
||||
- rustup.install
|
||||
- FiraCode
|
||||
- nerd-fonts-Hack
|
||||
|
||||
# Complete List
|
||||
|
||||
May have missed some dependencies, but this is a complete list of 'chocolatey' package manager installations used to make LSP work properly.
|
||||
|
||||
FiraCode 6.2
|
||||
KB2919355 1.0.20160915
|
||||
KB2919442 1.0.20160915
|
||||
KB2999226 1.0.20181019
|
||||
KB3033929 1.0.5
|
||||
KB3035131 1.0.3
|
||||
lua 5.1.5.52
|
||||
neovide 0.10.3
|
||||
neovide.install 0.10.3
|
||||
neovim 0.8.3
|
||||
nerd-fonts-Hack 2.3.3
|
||||
nodejs 19.6.0
|
||||
nodejs.install 19.6.0
|
||||
ripgrep 13.0.0.20220913
|
||||
rust 1.67.1
|
||||
rustup.install 1.25.1
|
||||
vcredist140 14.34.31938
|
||||
vcredist2005 8.0.50727.619501
|
||||
vcredist2015 14.0.24215.20170201
|
||||
vim 9.0.1221
|
Loading…
Reference in New Issue