Updated plugins

This commit is contained in:
Dreaded_X 2015-08-15 20:07:04 +02:00
parent f6b99d0a27
commit 713e0e4068
6 changed files with 2026 additions and 4 deletions

View File

@ -1192,7 +1192,7 @@ class Command(object):
raise CmdTimedOut(['Timeout!'])
tfile.seek(0)
result = [line.decode().rstrip() for line in tfile]
result = [line.decode('utf-8', 'replace').rstrip() for line in tfile]
if proc.returncode != 0:
msg = ['']
@ -1344,7 +1344,7 @@ def esc(name):
def nonblock_read(fname):
""" Read a file with nonblock flag. Return the last line. """
fread = os.open(fname, os.O_RDONLY | os.O_NONBLOCK)
buf = os.read(fread, 100000).decode()
buf = os.read(fread, 100000).decode('utf-8', 'replace')
os.close(fread)
line = buf.rstrip('\r\n')

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit 464aeae09bccd994a5a37ca3d25ed775f30034b6
Subproject commit 7f327c60ea3cb17432e85267e1150f28c0eae4f9

@ -1 +1 @@
Subproject commit 772ab9587b7d1e2c3bae75395c9123803059ba8a
Subproject commit 2d05440ad23f97a7874ebd9b5de3a0e65d25d85c

View File

@ -92,3 +92,5 @@ map <F9> :Make<cr>
map <F10> :Make debug<cr>
map <F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
map <F4> :cw<cr>
map <C-N> :cn<cr>

View File

@ -19,6 +19,7 @@ alias cl="clear"
alias vim="nvim"
alias tmux="tmux -2"
alias attach="tmux a"
alias wcp="wc -l src/**/*.cpp include/**/*.h"
#start tmux
if [ -z "$TMUX" ]; then tmux; exit; fi