fix: dotnet
This commit is contained in:
parent
d1394482e4
commit
c3d496e034
7 changed files with 27 additions and 5 deletions
|
|
@ -5,7 +5,6 @@
|
|||
"python.linting.enabled": true,
|
||||
"html.format.enable": true,
|
||||
"html.suggest.html5": true,
|
||||
"html.suggest.ionic": true,
|
||||
"html.validate.html": true,
|
||||
"html.validate.styles": true,
|
||||
"diagnostic-languageserver.mergeConfig": true,
|
||||
|
|
@ -37,6 +36,13 @@
|
|||
"nix"
|
||||
]
|
||||
},
|
||||
"csharp-ls": {
|
||||
"command": "csharp-ls",
|
||||
"filetypes": [
|
||||
"cs",
|
||||
"razor"
|
||||
]
|
||||
},
|
||||
"terraform": {
|
||||
"command": "terraform-ls",
|
||||
"args": ["serve"],
|
||||
|
|
|
|||
|
|
@ -17,14 +17,18 @@ map { 'n', '<C-l>', '<C-w>l', noremap = true, silent = true}
|
|||
|
||||
-- buffer binds
|
||||
map { 'n', '<leader>q', ':bd<CR>', noremap = false, silent = true}
|
||||
map { 'n', '<leader>b', ':Buffers<CR>', noremap = false, silent = true}
|
||||
-- telescope
|
||||
map { 'n', '<leader>fb', '<cmd>Telescope buffers<CR>', noremap = false, silent = true}
|
||||
map { 'n', '<leader>ff', '<cmd>Telescope find_files<CR>', noremap = false, silent = true}
|
||||
map { 'n', '<leader>fs', '<cmd>Telescope live_grep<CR>', noremap = false, silent = true}
|
||||
map { 'n', '<leader>fr', '<cmd>Telescope registers<CR>', noremap = false, silent = true}
|
||||
map { 'n', '<leader>pp', '<cmd>lua require\'telescope\'.extensions.projects.projects{}<cr>', noremap = false, silent = true}
|
||||
-- tab binds
|
||||
map { 'n', '<C-t>', ':tabnew<CR>', noremap = false, silent = true}
|
||||
|
||||
-- copy paste
|
||||
map { 'v', '<C-c>', '"+y', noremap = true, silent = true}
|
||||
map { 'n', '<C-b>', '"+P', noremap = false, silent = true}
|
||||
map { 'n', '<C-p>', ':registers<CR>', noremap = true, silent = true}
|
||||
|
||||
-- sudo :w
|
||||
map { 'c', 'w!!', 'w !sudo tee > /dev/null %', noremap = false, silent = false}
|
||||
|
|
|
|||
3
hm-imports/nvim/config/lua/plugin/project.lua
Normal file
3
hm-imports/nvim/config/lua/plugin/project.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
require('project_nvim').setup {
|
||||
detection_methods = { "pattern" },
|
||||
}
|
||||
2
hm-imports/nvim/config/lua/plugin/telescope.lua
Normal file
2
hm-imports/nvim/config/lua/plugin/telescope.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
require('telescope').setup {}
|
||||
require('telescope').load_extension('projects')
|
||||
|
|
@ -10,6 +10,8 @@ local opt = vim.opt
|
|||
require('plugin.nnn')
|
||||
require('plugin.rainbow')
|
||||
require('plugin.terminal')
|
||||
require('plugin.project')
|
||||
require('plugin.telescope')
|
||||
|
||||
|
||||
-- plugins - coc
|
||||
|
|
|
|||
|
|
@ -62,9 +62,9 @@
|
|||
incsearch-vim
|
||||
vim-highlightedyank
|
||||
vim-fugitive
|
||||
fzf-vim
|
||||
#fzf-vim
|
||||
lualine-nvim
|
||||
fzfWrapper
|
||||
#fzfWrapper
|
||||
vim-devicons
|
||||
toggleterm-nvim
|
||||
undotree
|
||||
|
|
@ -73,6 +73,10 @@
|
|||
ultisnips
|
||||
#dart-vim
|
||||
|
||||
plenary-nvim
|
||||
telescope-nvim
|
||||
project-nvim
|
||||
|
||||
coc-nvim
|
||||
|
||||
#telescope-coc-nvim
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ bindkey -M viins '^[[A' history-beginning-search-backward-end \
|
|||
|
||||
hash go 2>/dev/null && export PATH=$PATH:$(go env GOPATH)/bin
|
||||
hash yarn 2>/dev/null && export PATH=$PATH:$HOME/.yarn/bin
|
||||
hash dotnet 2>/dev/null && export PATH=$PATH:$HOME/.dotnet/tools
|
||||
hash direnv 2>/dev/null && eval "$(direnv hook zsh)" # needed for lorri
|
||||
export PATH=$PATH:$HOME/.local/bin
|
||||
export PATH=$PATH:$HOME/flutter/flutter/bin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue