This commit is contained in:
Philipp Hochkamp 2023-03-10 17:53:06 +01:00
parent 40b7cedf19
commit 2fd8760eda
4 changed files with 30 additions and 8 deletions

View file

@ -1,6 +1,17 @@
{
"rust-analyzer.procMacro.enable": true,
"rust-analyzer.updates.channel": "nightly",
"texlab.build.executable": "tectonic",
"texlab.build.args": [
"%f",
"--keep-logs",
"--synctex",
],
"texlab.build.onSave": true,
"texlab.chktex.onOpenAndSave": true,
"texlab.build.forwardSearchAfter": false,
"texlab.forwardSearch.executable": "/Applications/Skim.app/Contents/SharedSupport/displayline",
"texlab.forwardSearch.args": ["-r", "-d", "%l","%p","%f"],
"html.validate.scripts": true,
"languageserver": {
"nix": {

View file

@ -1,3 +1,11 @@
vim.cmd [[
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
augroup vimtex_mac
autocmd!
autocmd FileType tex call SetServerName()
augroup END
function! SetServerName()
call system('echo ' . v:servername . ' > /tmp/curvimserver')
endfunction
]]

View file

@ -1,5 +1,13 @@
-- general settings
vim.cmd [[
filetype plugin on
filetype indent plugin on
filetype plugin indent on
syntax on
]]
-- mapleader
vim.g.mapleader = ' '
vim.g.maplocalleader = ','
require('utils')
require('keybindings')
@ -30,13 +38,6 @@ vim.g.vimspector_base_dir = vim.env.HOME .. "/.local/share/nvim/vimspector"
vim.g.vimspector_enable_mappings = "HUMAN"
-- general settings
vim.cmd [[
filetype plugin on
filetype indent plugin on
filetype plugin indent on
syntax on
]]
opt.encoding = 'utf-8'
opt.number = true
opt.relativenumber = true

View file

@ -7,6 +7,8 @@
yarn # coc-nvim
#inputs.rnix-lsp.packages."${pkgs.system}".rnix-lsp
nil
neovim-remote
tectonic
# lsp
shfmt
@ -108,7 +110,7 @@
#coc-tslint-plugin
#coc-tslint
coc-toml
#coc-texlab
coc-texlab
#coc-tailwindcss
#coc-tabnine
#coc-svelte